The dependency and script updates.
parent
196e3f3601
commit
bbe8495057
|
@ -1,7 +1,7 @@
|
||||||
MONARC Changelog
|
MONARC Changelog
|
||||||
================
|
================
|
||||||
|
|
||||||
## 2.10.3 (2021-05-10) Includes bug-fixes, new features and an enhancement.
|
## 2.10.3 (2021-05-12) Includes bug-fixes, new features and an enhancement.
|
||||||
|
|
||||||
### New
|
### New
|
||||||
|
|
||||||
|
|
|
@ -4619,12 +4619,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/monarc-project/zm-client.git",
|
"url": "https://github.com/monarc-project/zm-client.git",
|
||||||
"reference": "d5557f7eab2bf7764cb31001f8dfa793ab90f66d"
|
"reference": "b2a23fa9a6565d71eaf29cd754f5cac20da0d08f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/monarc-project/zm-client/zipball/d5557f7eab2bf7764cb31001f8dfa793ab90f66d",
|
"url": "https://api.github.com/repos/monarc-project/zm-client/zipball/b2a23fa9a6565d71eaf29cd754f5cac20da0d08f",
|
||||||
"reference": "d5557f7eab2bf7764cb31001f8dfa793ab90f66d",
|
"reference": "b2a23fa9a6565d71eaf29cd754f5cac20da0d08f",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4704,7 +4704,7 @@
|
||||||
"issues": "https://github.com/monarc-project/zm-client/issues",
|
"issues": "https://github.com/monarc-project/zm-client/issues",
|
||||||
"source": "https://github.com/monarc-project/zm-client/tree/v2.10.3"
|
"source": "https://github.com/monarc-project/zm-client/tree/v2.10.3"
|
||||||
},
|
},
|
||||||
"time": "2021-05-10T15:46:56+00:00"
|
"time": "2021-05-12T09:58:17+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "monarc/phpword",
|
"name": "monarc/phpword",
|
||||||
|
|
|
@ -31,4 +31,7 @@ if (file_exists('config/development.config.php')) {
|
||||||
$appConfig = Laminas\Stdlib\ArrayUtils::merge($appConfig, include '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();
|
Application::init($appConfig)->run();
|
||||||
|
|
|
@ -34,8 +34,8 @@ checkout_to_latest_tag() {
|
||||||
pushd $1
|
pushd $1
|
||||||
git fetch --tags -f
|
git fetch --tags -f
|
||||||
tag=$(git describe --tags)
|
tag=$(git describe --tags)
|
||||||
git checkout $tag
|
git checkout $tag -b $tag
|
||||||
#git pull origin $tag
|
git pull origin $tag
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
<?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