From a3f6c906c48bbd408e56591eca33c92280b197aa Mon Sep 17 00:00:00 2001 From: Yuri Gaidoba Date: Tue, 5 Dec 2023 07:58:09 +0100 Subject: [PATCH] SUPPORT-86536 - fixed pr comments --- tests/Unit/Service/Validation/EntityValidatorTest.php | 4 +--- tests/bootstrap.php | 7 ------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 tests/bootstrap.php diff --git a/tests/Unit/Service/Validation/EntityValidatorTest.php b/tests/Unit/Service/Validation/EntityValidatorTest.php index 53925d6..6f53884 100644 --- a/tests/Unit/Service/Validation/EntityValidatorTest.php +++ b/tests/Unit/Service/Validation/EntityValidatorTest.php @@ -67,9 +67,7 @@ public function testValidate($expectedException, ValidationOptions $validationOp if ($expectedException !== null) { $this->fail('Expected exception'); } - if (method_exists($this, 'expectNotToPerformAssertions')) { - $this->expectNotToPerformAssertions(); - } + $this->expectNotToPerformAssertions(); } catch (ApiException $exception) { $this->assertEquals($expectedException, $exception); } diff --git a/tests/bootstrap.php b/tests/bootstrap.php deleted file mode 100644 index 500279c..0000000 --- a/tests/bootstrap.php +++ /dev/null @@ -1,7 +0,0 @@ -