@@ -72,8 +72,7 @@ public function testHmacKeyList()
7272 [
7373 'projectId ' => self ::$ projectId
7474 ],
75- ['interactive ' => false ]
76- );
75+ ['interactive ' => false ]);
7776 $ outputString = "/HMAC key Metadata:/ " ;
7877 $ this ->expectOutputRegex ($ outputString );
7978 }
@@ -86,8 +85,7 @@ public function testHmacKeyCreate()
8685 'projectId ' => self ::$ projectId ,
8786 'serviceAccountEmail ' => $ this ->hmacServiceAccount
8887 ],
89- ['interactive ' => false ]
90- );
88+ ['interactive ' => false ]);
9189 $ outputString = "/The base64 encoded secret is:/ " ;
9290 $ this ->expectOutputRegex ($ outputString );
9391 }
@@ -101,8 +99,7 @@ public function testHmacKeyGet()
10199 'accessId ' => $ this ->accessId ,
102100 '--get ' => true
103101 ],
104- ['interactive ' => false ]
105- );
102+ ['interactive ' => false ]);
106103 $ outputString = "/HMAC key Metadata:/ " ;
107104 $ this ->expectOutputRegex ($ outputString );
108105 }
@@ -116,8 +113,7 @@ public function testHmacKeyDeactivate()
116113 'accessId ' => $ this ->accessId ,
117114 '--deactivate ' => true
118115 ],
119- ['interactive ' => false ]
120- );
116+ ['interactive ' => false ]);
121117 $ outputString = "/The HMAC key is now inactive./ " ;
122118 $ this ->expectOutputRegex ($ outputString );
123119 }
@@ -131,10 +127,8 @@ public function testHmacKeyActivate()
131127 'accessId ' => $ this ->accessId ,
132128 '--activate ' => true
133129 ],
134- ['interactive ' => false ]
135- );
130+ ['interactive ' => false ]);
136131 $ outputString = "/The HMAC key is now active./ " ;
137-
138132 $ this ->expectOutputRegex ($ outputString );
139133 }
140134
@@ -147,16 +141,14 @@ public function testHmacKeyDelete()
147141 'accessId ' => $ this ->accessId ,
148142 '--deactivate ' => true
149143 ],
150- ['interactive ' => false ]
151- );
144+ ['interactive ' => false ]);
152145 $ this ->commandTesterManage ->execute (
153146 [
154147 'projectId ' => self ::$ projectId ,
155148 'accessId ' => $ this ->accessId ,
156149 '--delete ' => true
157150 ],
158- ['interactive ' => false ]
159- );
151+ ['interactive ' => false ]);
160152 $ outputString = "/The key is deleted, though it may still appear in StorageClient.hmacKeys() results./ " ;
161153 $ this ->expectOutputRegex ($ outputString );
162154 }
0 commit comments