From dd8c5960d6bf0f90a6c5523d1a6e458c13a04de0 Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Wed, 12 May 2021 12:06:03 +0200 Subject: [PATCH] Reverted the unwanted changes. --- public/index.php | 3 -- .../AnrExistenceValidatorTest.php | 37 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 tests/Unit/Validator/FieldValidator/AnrExistenceValidatorTest.php diff --git a/public/index.php b/public/index.php index 75d260b..8657906 100644 --- a/public/index.php +++ b/public/index.php @@ -31,7 +31,4 @@ if (file_exists('config/development.config.php')) { $appConfig = Laminas\Stdlib\ArrayUtils::merge($appConfig, include 'config/development.config.php'); } -ini_set('display_errors', 1); -error_reporting(E_ALL); - Application::init($appConfig)->run(); diff --git a/tests/Unit/Validator/FieldValidator/AnrExistenceValidatorTest.php b/tests/Unit/Validator/FieldValidator/AnrExistenceValidatorTest.php deleted file mode 100644 index d5e93e1..0000000 --- a/tests/Unit/Validator/FieldValidator/AnrExistenceValidatorTest.php +++ /dev/null @@ -1,37 +0,0 @@ -anrTable = $this->createMock(AnrTable::class); - $this->anrExistenceValidator = new AnrExistenceValidator([ - 'anrTable' => $this->anrTable, - ]); - } - - public function testItCanValidateAnrsIdsListPassedAsArray() - { - $this->anrTable->method('findByIds'); - } - - public function testItCanValidateAnrsIdsListPassedAsArrayOfArraysAndAnrKey() - { - $this->anrTable->method('findByIds'); - } -}