From 13f29ae8ec5dc1e0035a33d50d231c511dd03591 Mon Sep 17 00:00:00 2001 From: Zan Baldwin Date: Tue, 2 Apr 2024 11:21:39 +0200 Subject: [PATCH] Don't Test Deprecated Methods --- tests/Doctrine/IPv4TypeTest.php | 20 -------------------- tests/Doctrine/IPv6TypeTest.php | 20 -------------------- tests/Doctrine/MultiTypeTest.php | 20 -------------------- 3 files changed, 60 deletions(-) diff --git a/tests/Doctrine/IPv4TypeTest.php b/tests/Doctrine/IPv4TypeTest.php index 197a977..189581f 100644 --- a/tests/Doctrine/IPv4TypeTest.php +++ b/tests/Doctrine/IPv4TypeTest.php @@ -150,16 +150,6 @@ public function testNullConversionForPHPValue() $this->assertNull($this->type->convertToPHPValue(null, $this->platform)); } - /** - * @test - * @return void - */ - #[PHPUnit\Test] - public function testGetName() - { - $this->assertEquals('ip', $this->type->getName()); - } - /** * @test * @return void @@ -190,14 +180,4 @@ public function testBindingTypeIsAValidPDOTypeConstant() // PDO PARAM constant. $this->assertContains($this->type->getBindingType(), $paramConstants); } - - /** - * @test - * @return void - */ - #[PHPUnit\Test] - public function testRequiresSQLCommentHint() - { - $this->assertTrue($this->type->requiresSQLCommentHint($this->platform)); - } } diff --git a/tests/Doctrine/IPv6TypeTest.php b/tests/Doctrine/IPv6TypeTest.php index 5482e3a..9c4f85b 100644 --- a/tests/Doctrine/IPv6TypeTest.php +++ b/tests/Doctrine/IPv6TypeTest.php @@ -150,16 +150,6 @@ public function testNullConversionForPHPValue() $this->assertNull($this->type->convertToPHPValue(null, $this->platform)); } - /** - * @test - * @return void - */ - #[PHPUnit\Test] - public function testGetName() - { - $this->assertEquals('ip', $this->type->getName()); - } - /** * @test * @return void @@ -190,14 +180,4 @@ public function testBindingTypeIsAValidPDOTypeConstant() // PDO PARAM constant. $this->assertContains($this->type->getBindingType(), $paramConstants); } - - /** - * @test - * @return void - */ - #[PHPUnit\Test] - public function testRequiresSQLCommentHint() - { - $this->assertTrue($this->type->requiresSQLCommentHint($this->platform)); - } } diff --git a/tests/Doctrine/MultiTypeTest.php b/tests/Doctrine/MultiTypeTest.php index 7029eba..81bf5c0 100644 --- a/tests/Doctrine/MultiTypeTest.php +++ b/tests/Doctrine/MultiTypeTest.php @@ -150,16 +150,6 @@ public function testNullConversionForPHPValue() $this->assertNull($this->type->convertToPHPValue(null, $this->platform)); } - /** - * @test - * @return void - */ - #[PHPUnit\Test] - public function testGetName() - { - $this->assertEquals('ip', $this->type->getName()); - } - /** * @test * @return void @@ -190,14 +180,4 @@ public function testBindingTypeIsAValidPDOTypeConstant() // PDO PARAM constant. $this->assertContains($this->type->getBindingType(), $paramConstants); } - - /** - * @test - * @return void - */ - #[PHPUnit\Test] - public function testRequiresSQLCommentHint() - { - $this->assertTrue($this->type->requiresSQLCommentHint($this->platform)); - } }