silverstripe / silverstripe-sqlite3

SQLite3 DB Adapter for Silverstripe
BSD 3-Clause "New" or "Revised" License
8 stars 19 forks source link

Cannot run unit tests in SS4-beta3 #33

Closed wernerkrauss closed 6 years ago

wernerkrauss commented 6 years ago

I Installed sqlite3 module dev-2.1, current rev is 8d25343c41c7

In current silverstripe/framework 7afab3043dc0122 it's not possible to run tests using sqlite3:

Error: Call to undefined method SilverStripe\Dev\SapphireTest::using_temp_db() in /vagrant/www/vendor/silverstripe/sqlite3/code/SQLite3SchemaManager.php on line 213

I tried to fix this, but then got stuck on index creation:

Fatal error: Uncaught Error: Call to undefined method SilverStripe\ORM\Connect\DBSchemaManager::parseIndexSpec() in /vagrant/www/vendor/silverstripe/sqlite3/code/SQLite3SchemaManager.php on line 410