diff --git a/tests/Models/ContractTypeTest.php b/tests/Models/ContractTypeTest.php deleted file mode 100755 index 9b9c455..0000000 --- a/tests/Models/ContractTypeTest.php +++ /dev/null @@ -1,72 +0,0 @@ -type = new ContractType(); - } - - /** - * @covers Modules\ContractManagement\Models\ContractType - * @group module - */ - public function testDefault() : void - { - self::assertEquals(0, $this->type->id); - self::assertEquals('', $this->type->getL11n()); - } - - /** - * @covers Modules\ContractManagement\Models\ContractType - * @group module - */ - public function testL11nInputOutput() : void - { - $this->type->setL11n('Test'); - self::assertEquals('Test', $this->type->getL11n()); - - $this->type->setL11n(new BaseStringL11n('NewTest')); - self::assertEquals('NewTest', $this->type->getL11n()); - } - - /** - * @covers Modules\ContractManagement\Models\ContractType - * @group module - */ - public function testSerialize() : void - { - self::assertEquals( - [ - 'id' => 0, - 'l11n' => new BaseStringL11n(), - ], - $this->type->jsonSerialize() - ); - } -} diff --git a/tests/Models/NullContractTypeTest.php b/tests/Models/NullContractTypeTest.php deleted file mode 100755 index fc499b2..0000000 --- a/tests/Models/NullContractTypeTest.php +++ /dev/null @@ -1,42 +0,0 @@ -id); - } -}