mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +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
|
@ -152,11 +152,11 @@ class PermissionDataTest extends TestCase
|
|||
$data = new PermissionData();
|
||||
|
||||
//By default the schema version must be the CURRENT_SCHEMA_VERSION
|
||||
$this->assertEquals(PermissionData::CURRENT_SCHEMA_VERSION, $data->getSchemaVersion());
|
||||
$this->assertSame(PermissionData::CURRENT_SCHEMA_VERSION, $data->getSchemaVersion());
|
||||
|
||||
//Ensure that the schema version can be set
|
||||
$data->setSchemaVersion(12345);
|
||||
$this->assertEquals(12345, $data->getSchemaVersion());
|
||||
$this->assertSame(12345, $data->getSchemaVersion());
|
||||
}
|
||||
|
||||
public function testIsAnyOperationOfPermissionSet(): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue