Reverted the unwanted changes.

phpword_v0.18.1
Ruslan Baidan 2021-05-12 12:06:03 +02:00
parent bbe8495057
commit dd8c5960d6
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
2 changed files with 0 additions and 40 deletions

View File

@ -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();

View File

@ -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');
}
}