phpunit compatibility

This commit is contained in:
El RIDO 2021-10-07 22:34:15 +02:00
parent 168ce1d85c
commit 9c81d85bb7
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 5 additions and 13 deletions

View file

@ -43,7 +43,7 @@ class DatabaseTest extends TestCase
$this->assertNotEquals($salt, '');
ServerSalt::setStore($this->_model);
ServerSalt::get();
$this->assertFileNotExists($file, 'legacy ServerSalt got removed');
$this->assertFileDoesNotExist($file, 'legacy ServerSalt got removed');
$this->assertEquals($salt, ServerSalt::get(), 'ServerSalt got preserved & migrated');
}