Applied rectors phpunit 9 migrations to tests

This commit is contained in:
Jan Böhmer 2023-06-11 15:15:55 +02:00
parent 684334ba22
commit fcbb1849ec
22 changed files with 162 additions and 187 deletions

View file

@ -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