@@ -43,11 +43,11 @@ public function setUp()
4343 $ this ->commandTesterCreate = new CommandTester ($ application ->get ('hmac-sa-create ' ));
4444 $ this ->commandTesterManage = new CommandTester ($ application ->get ('hmac-sa-manage ' ));
4545 $ this ->storage = new StorageClient ();
46- $ this ->hmacServiceAccount = $ this -> projectId . '@appspot.gserviceaccount.com ' ;
46+ $ this ->hmacServiceAccount = self :: $ projectId . '@appspot.gserviceaccount.com ' ;
4747 // Delete all HMAC keys.
4848 deleteAllHmacKeys ($ this ->hmacServiceAccount );
4949 // Create test key.
50- $ hmacKeyCreated = $ this ->storage ->createHmacKey ($ hmacServiceAccount , ['projectId ' => $ this -> projectId ]);
50+ $ hmacKeyCreated = $ this ->storage ->createHmacKey ($ hmacServiceAccount , ['projectId ' => self :: $ projectId ]);
5151 $ this ->accessId = $ hmacKeyCreated ->hmacKey ()->accessId ();
5252 }
5353
@@ -70,7 +70,7 @@ public function testHmacKeyList()
7070 {
7171 $ this ->commandTesterList ->execute (
7272 [
73- 'projectId ' => $ this -> projectId
73+ 'projectId ' => self :: $ projectId
7474 ],
7575 ['interactive ' => false ]
7676 );
@@ -86,7 +86,7 @@ public function testHmacKeyCreate()
8686 {
8787 $ this ->commandTesterCreate ->execute (
8888 [
89- 'projectId ' => $ this -> projectId ,
89+ 'projectId ' => self :: $ projectId ,
9090 'serviceAccoutnEmail ' => $ this ->serviceAccountEmail
9191 ],
9292 ['interactive ' => false ]
@@ -103,7 +103,7 @@ public function testHmacKeyGet()
103103 {
104104 $ this ->commandTesterManage ->execute (
105105 [
106- 'projectId ' => $ this -> projectId ,
106+ 'projectId ' => self :: $ projectId ,
107107 'accessId ' => $ this ->accessId ,
108108 '--get ' => true
109109 ],
@@ -121,7 +121,7 @@ public function testHmacKeyDeactivate()
121121 {
122122 $ this ->commandTesterManage ->execute (
123123 [
124- 'projectId ' => $ this -> projectId ,
124+ 'projectId ' => self :: $ projectId ,
125125 'accessId ' => $ this ->accessId ,
126126 '--deactivate ' => true
127127 ],
@@ -139,7 +139,7 @@ public function testHmacKeyActivate()
139139 {
140140 $ this ->commandTesterManage ->execute (
141141 [
142- 'projectId ' => $ this -> projectId ,
142+ 'projectId ' => self :: $ projectId ,
143143 'accessId ' => $ this ->accessId ,
144144 '--activate ' => true
145145 ],
@@ -157,15 +157,15 @@ public function testHmacKeyDelete()
157157 {
158158 $ this ->commandTesterManage ->execute (
159159 [
160- 'projectId ' => $ this -> projectId ,
160+ 'projectId ' => self :: $ projectId ,
161161 'accessId ' => $ this ->accessId ,
162162 '--deactivate ' => true
163163 ],
164164 ['interactive ' => false ]
165165 );
166166 $ this ->commandTesterManage ->execute (
167167 [
168- 'projectId ' => $ this -> projectId ,
168+ 'projectId ' => self :: $ projectId ,
169169 'accessId ' => $ this ->accessId ,
170170 '--delete ' => true
171171 ],
0 commit comments