mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Clear DB caches in SecurityTest
This commit is contained in:
parent
25b6175e67
commit
d75f545887
@ -392,6 +392,8 @@ class SecurityTest extends FunctionalTest {
|
|||||||
public function testDatabaseIsReadyWithInsufficientMemberColumns() {
|
public function testDatabaseIsReadyWithInsufficientMemberColumns() {
|
||||||
$old = Security::$force_database_is_ready;
|
$old = Security::$force_database_is_ready;
|
||||||
Security::$force_database_is_ready = null;
|
Security::$force_database_is_ready = null;
|
||||||
|
Security::$database_is_ready = false;
|
||||||
|
DataObject::clear_classname_spec_cache();
|
||||||
|
|
||||||
// Assumption: The database has been built correctly by the test runner,
|
// Assumption: The database has been built correctly by the test runner,
|
||||||
// and has all columns present in the ORM
|
// and has all columns present in the ORM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user