diff --git a/Models/NullContact.php b/Models/NullContact.php index ecb6ebb..376067e 100755 --- a/Models/NullContact.php +++ b/Models/NullContact.php @@ -24,4 +24,16 @@ namespace Modules\Profile\Models; */ final class NullContact extends Contact { + /** + * Constructor + * + * @param int $id Model id + * + * @since 1.0.0 + */ + public function __construct(int $id = 0) + { + $this->id = $id; + parent::__construct(); + } } diff --git a/tests/Models/NullContactElement.php b/tests/Models/NullContactElement.php deleted file mode 100644 index 87ae858..0000000 --- a/tests/Models/NullContactElement.php +++ /dev/null @@ -1,42 +0,0 @@ -getId()); - } -} diff --git a/tests/Models/NullContact.php b/tests/Models/NullContactTest.php similarity index 92% rename from tests/Models/NullContact.php rename to tests/Models/NullContactTest.php index 69a4bd8..9a55e3e 100644 --- a/tests/Models/NullContact.php +++ b/tests/Models/NullContactTest.php @@ -19,7 +19,7 @@ use Modules\Profile\Models\NullContact; /** * @internal */ -final class Null extends \PHPUnit\Framework\TestCase +final class NullContactTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\Profile\Models\NullContact diff --git a/tests/Models/NullProfile.php b/tests/Models/NullProfile.php deleted file mode 100644 index 61b5962..0000000 --- a/tests/Models/NullProfile.php +++ /dev/null @@ -1,42 +0,0 @@ -getId()); - } -}