From 11ba86462224a7c01892b2419c24362c2bb94e0b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 16 Oct 2023 22:23:57 +0000 Subject: [PATCH] test fixes --- tests/Models/NullTaxCodeL11nTest.php | 52 ++++++++++++++++++++++++++++ tests/Models/NullTaxCodeTest.php | 52 ++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 tests/Models/NullTaxCodeL11nTest.php create mode 100644 tests/Models/NullTaxCodeTest.php diff --git a/tests/Models/NullTaxCodeL11nTest.php b/tests/Models/NullTaxCodeL11nTest.php new file mode 100644 index 0000000..06bfda1 --- /dev/null +++ b/tests/Models/NullTaxCodeL11nTest.php @@ -0,0 +1,52 @@ +id); + } + + /** + * @covers Modules\Finance\Models\NullTaxCodeL11n + * @group module + */ + public function testJsonSerialize() : void + { + $null = new NullTaxCodeL11n(2); + self::assertEquals(['id' => 2], $null); + } +} diff --git a/tests/Models/NullTaxCodeTest.php b/tests/Models/NullTaxCodeTest.php new file mode 100644 index 0000000..3f331d5 --- /dev/null +++ b/tests/Models/NullTaxCodeTest.php @@ -0,0 +1,52 @@ +id); + } + + /** + * @covers Modules\Finance\Models\NullTaxCode + * @group module + */ + public function testJsonSerialize() : void + { + $null = new NullTaxCode(2); + self::assertEquals(['id' => 2], $null); + } +}