File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 2525 */
2626class RequestTableTest extends TestCase
2727{
28+ /**
29+ * Setup
30+ *
31+ * Skip tests on SQLite as SQLite complains when tables are changed while a connection is open.
32+ *
33+ * @return void
34+ */
35+ public function setUp (): void
36+ {
37+ parent ::setUp ();
38+ $ connection = ConnectionManager::get ('test ' );
39+ $ this ->skipIf ($ connection ->getDriver () instanceof Sqlite, 'Schema insertion/removal breaks SQLite ' );
40+ }
41+
42+
2843 /**
2944 * test that schema is created on-demand.
3045 *
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ public function setUp(): void
5757 $ this ->events = new EventManager ();
5858
5959 $ connection = ConnectionManager::get ('test ' );
60+ $ this ->skipIf ($ connection ->getDriver () instanceof Sqlite, 'Schema insertion/removal breaks SQLite ' );
6061 $ this ->restore = $ GLOBALS ['__PHPUNIT_BOOTSTRAP ' ];
6162 unset($ GLOBALS ['__PHPUNIT_BOOTSTRAP ' ]);
6263 }
You can’t perform that action at this time.
0 commit comments