Reverted the unwanted changes.
parent
bbe8495057
commit
dd8c5960d6
|
@ -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();
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace MonarcAppFo\Tests\Unit\Validator\FieldValidator;
|
||||
|
||||
use Monarc\FrontOffice\Model\Table\AnrTable;
|
||||
use Monarc\FrontOffice\Validator\FieldValidator\AnrExistenceValidator;
|
||||
use MonarcAppFo\Tests\Unit\AbstractUnitTestCase;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
|
||||
class AnrExistenceValidatorTest extends AbstractUnitTestCase
|
||||
{
|
||||
/** @var AnrTable|MockObject */
|
||||
private $anrTable;
|
||||
|
||||
/** @var AnrExistenceValidator */
|
||||
private $anrExistenceValidator;
|
||||
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->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');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue