/** * Add test environment * * {@inheritdoc} * @see ApiTestCase::setUpBeforeClass() */ public static function setUpBeforeClass() { parent::setUpBeforeClass(); static::$data = [static::$testEnvId => []]; if (empty(static::$userSpec)) { static::$userSpec = new SpecManager(self::$apiVersion, 'user'); } if (empty(static::$accountSpec)) { static::$accountSpec = new SpecManager(self::$apiVersion, 'account'); } }
/** * Add test environment * * {@inheritdoc} * @see ApiTestCase::setUpBeforeClass() */ public static function setUpBeforeClass() { parent::setUpBeforeClass(); static::$data = [static::$testEnvId => []]; }