Skip to content

Commit ecb8ba4

Browse files
committed
chore: enable Spanner system tests in CI
1 parent 3280b2e commit ecb8ba4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Spanner/tests/System/PgSystemTestCaseTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected static function setUpTestDatabase(): void
5252
]);
5353
$op->pollUntilComplete();
5454

55-
$db->updateDdlBatch(
55+
self::$database->updateDdlBatch(
5656
[
5757
'CREATE TABLE IF NOT EXISTS ' . self::TEST_TABLE_NAME . ' (
5858
id bigint PRIMARY KEY,
@@ -65,7 +65,7 @@ protected static function setUpTestDatabase(): void
6565
// Currently, the emulator doesn't support setting roles for the PG
6666
// dialect.
6767
if (!self::isEmulatorUsed()) {
68-
$db->updateDdlBatch(
68+
self::$database->updateDdlBatch(
6969
[
7070
'CREATE ROLE ' . self::DATABASE_ROLE,
7171
'CREATE ROLE ' . self::RESTRICTIVE_DATABASE_ROLE,

phpunit-system.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<exclude>Datastore/tests/System</exclude>
88
<exclude>Firestore/tests/System</exclude>
99
<exclude>Logging/tests/System</exclude>
10-
<exclude>Spanner/tests/System</exclude>
1110
</testsuite>
1211
</testsuites>
1312
<php>

0 commit comments

Comments
 (0)