@@ -109,30 +109,29 @@ public function testHmacKeyDeactivate() {
109
109
[
110
110
'projectId ' => self ::$ projectId ,
111
111
'accessId ' => $ this ->accessId ,
112
- '--activate ' => true
112
+ '--deactivate ' => true
113
113
],
114
114
['interactive ' => false ]);
115
- $ this ->assertContains ("The HMAC key is now active " , $ this ->getActualOutput ());
115
+ $ this ->assertContains ("The HMAC key is now inactive " , $ this ->getActualOutput ());
116
116
}
117
117
118
118
public function testHmacKeyActivate ()
119
119
{
120
- $ this ->commandTesterManage ->execute (
121
- [
122
- 'projectId ' => self ::$ projectId ,
123
- 'accessId ' => $ this ->accessId ,
124
- '--activate ' => true
125
- ],
126
- ['interactive ' => false ]);
127
120
$ this ->commandTesterManage ->execute (
128
121
[
129
122
'projectId ' => self ::$ projectId ,
130
123
'accessId ' => $ this ->accessId ,
131
124
'--deactivate ' => true
132
125
],
133
126
['interactive ' => false ]);
134
- $ this ->assertContains ("The HMAC key is now inactive " , $ this ->getActualOutput ());
135
-
127
+ $ this ->commandTesterManage ->execute (
128
+ [
129
+ 'projectId ' => self ::$ projectId ,
130
+ 'accessId ' => $ this ->accessId ,
131
+ '--activate ' => true
132
+ ],
133
+ ['interactive ' => false ]);
134
+ $ this ->assertContains ("The HMAC key is now active " , $ this ->getActualOutput ());
136
135
}
137
136
138
137
public function testHmacKeyDelete ()
0 commit comments