Skip to content

Commit 986fb28

Browse files
committed
only setup once
1 parent b2da788 commit 986fb28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/TestCase.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ protected function setUpDatabaseOnce(Connection $conn): void
144144
}
145145
if (!$conn->databaseExists()) {
146146
$conn->createDatabase($this->getTestDatabaseDDLs());
147-
}
148147

149-
$conn->getSchemaBuilder()->setDatabaseOptions([
150-
'default_sequence_kind' => 'bit_reversed_positive',
151-
]);
148+
$conn->getSchemaBuilder()->setDatabaseOptions([
149+
'default_sequence_kind' => 'bit_reversed_positive',
150+
]);
151+
}
152152

153153
$this->beforeApplicationDestroyed(fn() => $this->cleanupDatabase($conn));
154154
}

0 commit comments

Comments
 (0)