1 | <?php |
||
8 | class GameDeliveryTest extends AbstractAPITest |
||
9 | { |
||
10 | /** |
||
11 | * @var int |
||
12 | */ |
||
13 | protected static $gameDeliveryEntityId; |
||
14 | |||
15 | private $gameDeliveryEntityTemplate = array( |
||
16 | 'sku' => 'sdk-test', |
||
17 | 'name' => array( |
||
18 | 'en' => 'sdk-test name-en', |
||
19 | ), |
||
20 | 'description' => array( |
||
21 | 'en' => 'sdk-test description-en', |
||
22 | ), |
||
23 | 'system_requirements' => 'sdk-test system_requirements', |
||
24 | 'default_currency' => 'USD', |
||
25 | 'drm' => array( |
||
26 | array( |
||
27 | 'id' => 1, |
||
28 | 'platforms' => array( |
||
29 | array( |
||
30 | 'id' => 1, |
||
31 | ), |
||
32 | ), |
||
33 | ), |
||
34 | ), |
||
35 | ); |
||
36 | |||
37 | public static function setUpBeforeClass() |
||
38 | { |
||
39 | parent::setUpBeforeClass(); |
||
40 | static::$gameDeliveryEntityId = (int) getenv('GAME_DELIVERY_ENTITY_ID'); |
||
41 | } |
||
42 | |||
43 | public function testListGameDeliveryDrmPlatforms() |
||
49 | |||
50 | public function testCreateGameDeliveryEntity() |
||
54 | |||
55 | public function testListGameDeliveryEntities() |
||
63 | |||
64 | public function testGetGameDeliveryEntity() |
||
72 | |||
73 | public function testUpdateGameDeliveryEntity() |
||
81 | } |
||
82 |