TIF_NGANJUK_E41212020/vendor/midtrans/midtrans-php/tests/integration/IntegrationTest.php

22 lines
443 B
PHP

<?php
namespace Midtrans\integration;
use Midtrans\Config;
abstract class IntegrationTest extends \PHPUnit_Framework_TestCase
{
public static function setUpBeforeClass()
{
Config::$serverKey = getenv('SERVER_KEY');
Config::$clientKey = getenv('CLIENT_KEY');
Config::$isProduction = false;
}
public function tearDown()
{
// One second interval to avoid throttle
sleep(1);
}
}