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 @@ -