@@ -72,8 +72,7 @@ public function testHmacKeyList()
72
72
[
73
73
'projectId ' => self ::$ projectId
74
74
],
75
- ['interactive ' => false ]
76
- );
75
+ ['interactive ' => false ]);
77
76
$ outputString = "/HMAC key Metadata:/ " ;
78
77
$ this ->expectOutputRegex ($ outputString );
79
78
}
@@ -86,8 +85,7 @@ public function testHmacKeyCreate()
86
85
'projectId ' => self ::$ projectId ,
87
86
'serviceAccountEmail ' => $ this ->hmacServiceAccount
88
87
],
89
- ['interactive ' => false ]
90
- );
88
+ ['interactive ' => false ]);
91
89
$ outputString = "/The base64 encoded secret is:/ " ;
92
90
$ this ->expectOutputRegex ($ outputString );
93
91
}
@@ -101,8 +99,7 @@ public function testHmacKeyGet()
101
99
'accessId ' => $ this ->accessId ,
102
100
'--get ' => true
103
101
],
104
- ['interactive ' => false ]
105
- );
102
+ ['interactive ' => false ]);
106
103
$ outputString = "/HMAC key Metadata:/ " ;
107
104
$ this ->expectOutputRegex ($ outputString );
108
105
}
@@ -116,8 +113,7 @@ public function testHmacKeyDeactivate()
116
113
'accessId ' => $ this ->accessId ,
117
114
'--deactivate ' => true
118
115
],
119
- ['interactive ' => false ]
120
- );
116
+ ['interactive ' => false ]);
121
117
$ outputString = "/The HMAC key is now inactive./ " ;
122
118
$ this ->expectOutputRegex ($ outputString );
123
119
}
@@ -131,10 +127,8 @@ public function testHmacKeyActivate()
131
127
'accessId ' => $ this ->accessId ,
132
128
'--activate ' => true
133
129
],
134
- ['interactive ' => false ]
135
- );
130
+ ['interactive ' => false ]);
136
131
$ outputString = "/The HMAC key is now active./ " ;
137
-
138
132
$ this ->expectOutputRegex ($ outputString );
139
133
}
140
134
@@ -147,16 +141,14 @@ public function testHmacKeyDelete()
147
141
'accessId ' => $ this ->accessId ,
148
142
'--deactivate ' => true
149
143
],
150
- ['interactive ' => false ]
151
- );
144
+ ['interactive ' => false ]);
152
145
$ this ->commandTesterManage ->execute (
153
146
[
154
147
'projectId ' => self ::$ projectId ,
155
148
'accessId ' => $ this ->accessId ,
156
149
'--delete ' => true
157
150
],
158
- ['interactive ' => false ]
159
- );
151
+ ['interactive ' => false ]);
160
152
$ outputString = "/The key is deleted, though it may still appear in StorageClient.hmacKeys() results./ " ;
161
153
$ this ->expectOutputRegex ($ outputString );
162
154
}
0 commit comments