@@ -26,7 +26,7 @@ public function setUp()
26
26
public function test_it_lists_secgroups ()
27
27
{
28
28
$ this ->client
29
- ->request ('GET ' , 'security-groups ' , ['headers ' => []])
29
+ ->request ('GET ' , 'v2.0/ security-groups ' , ['headers ' => []])
30
30
->shouldBeCalled ()
31
31
->willReturn ($ this ->getFixture ('SecurityGroups ' ));
32
32
@@ -50,7 +50,7 @@ public function test_it_creates_secgroup()
50
50
51
51
$ expectedJson = ['security_group ' => $ options ];
52
52
53
- $ this ->setupMock ('POST ' , 'security-groups ' , $ expectedJson , [], new Response (201 ));
53
+ $ this ->setupMock ('POST ' , 'v2.0/ security-groups ' , $ expectedJson , [], new Response (201 ));
54
54
55
55
$ n = $ this ->service ->createSecurityGroup ($ options );
56
56
$ this ->assertInstanceOf (SecurityGroup::class, $ n );
@@ -64,7 +64,7 @@ public function test_it_gets_secgroup()
64
64
public function test_it_lists_secgrouprules ()
65
65
{
66
66
$ this ->client
67
- ->request ('GET ' , 'security-group-rules ' , ['headers ' => []])
67
+ ->request ('GET ' , 'v2.0/ security-group-rules ' , ['headers ' => []])
68
68
->shouldBeCalled ()
69
69
->willReturn ($ this ->getFixture ('SecurityGroupRules ' ));
70
70
@@ -102,7 +102,7 @@ public function test_it_creates_secgrouprule()
102
102
"security_group_id " => "a7734e61-b545-452d-a3cd-0189cbd9747a " ,
103
103
]];
104
104
105
- $ this ->setupMock ('POST ' , 'security-group-rules ' , $ expectedJson , [], new Response (201 ));
105
+ $ this ->setupMock ('POST ' , 'v2.0/ security-group-rules ' , $ expectedJson , [], new Response (201 ));
106
106
107
107
$ n = $ this ->service ->createSecurityGroupRule ($ options );
108
108
$ this ->assertInstanceOf (SecurityGroupRule::class, $ n );
0 commit comments