Skip to content

Commit 5deea4b

Browse files
jmikolaalcaeus
authored andcommitted
Fix static method invocations
1 parent cac8e3d commit 5deea4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/SpecTests/TransactionsSpecTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function testStartingNewTransactionOnPinnedSessionUnpinsSession(): void
235235
$this->markTestSkipped('Pinning tests require mongos');
236236
}
237237

238-
$client = self::createTestClient($this->getUri(true));
238+
$client = self::createTestClient(static::getUri(true));
239239

240240
$session = $client->startSession();
241241
$collection = $client->selectCollection($this->getDatabaseName(), $this->getCollectionName());
@@ -275,7 +275,7 @@ public function testRunningNonTransactionOperationOnPinnedSessionUnpinsSession()
275275
$this->markTestSkipped('Pinning tests require mongos');
276276
}
277277

278-
$client = self::createTestClient($this->getUri(true));
278+
$client = self::createTestClient(static::getUri(true));
279279

280280
$session = $client->startSession();
281281
$collection = $client->selectCollection($this->getDatabaseName(), $this->getCollectionName());

0 commit comments

Comments
 (0)