mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Applied rectors phpunit 9 migrations to tests
This commit is contained in:
parent
684334ba22
commit
fcbb1849ec
22 changed files with 162 additions and 187 deletions
|
@ -73,7 +73,7 @@ class PermissionSchemaUpdaterTest extends WebTestCase
|
|||
|
||||
//With schema version 0, an update should be done and the schema version should be updated
|
||||
self::assertTrue($this->service->upgradeSchema($user));
|
||||
self::assertEquals(PermissionData::CURRENT_SCHEMA_VERSION, $user->getPermissions()->getSchemaVersion());
|
||||
self::assertSame(PermissionData::CURRENT_SCHEMA_VERSION, $user->getPermissions()->getSchemaVersion());
|
||||
|
||||
//If we redo it with the same schema version, no update should be done
|
||||
self::assertFalse($this->service->upgradeSchema($user));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue