We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2672aaa commit 60542f5Copy full SHA for 60542f5
1 file changed
tests/e2e/Adapter/Scopes/JoinsTests.php
@@ -890,4 +890,19 @@ public function testJoinsSum(): void
890
$count = $database->count('__sessions', $queries);
891
$this->assertEquals(2, $count);
892
}
893
+
894
+ public function testCleanUp(): void
895
+ {
896
+ /** @var Database $database */
897
+ $database = $this->getDatabase();
898
899
+ if (!$database->getAdapter()->getSupportForJoins()) {
900
+ $this->expectNotToPerformAssertions();
901
+ return;
902
+ }
903
904
+ $this->assertTrue($database->deleteCollection('__users'));
905
+ $this->assertTrue($database->deleteCollection('__sessions'));
906
+ $this->assertTrue($database->deleteCollection('__banks'));
907
908
0 commit comments