Add remaining project files (exclude ignored folders)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user