File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed
Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,6 @@ public function pop($queue = null)
133133 );
134134 } else {
135135 $ subscription ->delete ();
136- $ topic ->delete ();
137136 }
138137 }
139138
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class PubSubConnectorTests extends TestCase
1212{
1313 public function testImplementsConnectorInterface ()
1414 {
15+ putenv ('SUPPRESS_GCLOUD_CREDS_WARNING=true ' );
1516 $ reflection = new ReflectionClass (PubSubConnector::class);
1617 $ this ->assertTrue ($ reflection ->implementsInterface (ConnectorInterface::class));
1718 }
Original file line number Diff line number Diff line change @@ -135,9 +135,6 @@ public function testPopWhenNoJobAvailable()
135135 $ this ->topic ->method ('exists ' )
136136 ->willReturn (true );
137137
138- $ this ->topic ->expects ($ this ->once ())
139- ->method ('delete ' );
140-
141138 $ this ->queue ->method ('getTopic ' )
142139 ->willReturn ($ this ->topic );
143140
You can’t perform that action at this time.
0 commit comments