| Conditions | 2 |
| Paths | 2 |
| Total Lines | 18 |
| Code Lines | 13 |
| Lines | 8 |
| Ratio | 44.44 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | protected static $merchantId; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected static $userId; |
||
| 29 | |||
| 30 | public static function setUpBeforeClass() |
||
| 31 | { |
||
| 32 | static::$projectId = (int) getenv('PROJECT_ID'); |
||
| 33 | static::$merchantId = (int) getenv('MERCHANT_ID'); |
||
| 34 | static::$userId = getenv('USER_ID'); |
||
| 35 | static::$xsollaClient = XsollaClientHelper::getXsollaClient(static::$merchantId, getenv('API_KEY')); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |