From ca0a7689beff9852478ce9135f3720fc0a2be9e2 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 30 Mar 2021 11:18:49 +0300 Subject: [PATCH] validation test --- .../integration/Espo/Record/FieldValidationTest.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/integration/Espo/Record/FieldValidationTest.php b/tests/integration/Espo/Record/FieldValidationTest.php index 46130e0d35..73dd49731f 100644 --- a/tests/integration/Espo/Record/FieldValidationTest.php +++ b/tests/integration/Espo/Record/FieldValidationTest.php @@ -320,4 +320,16 @@ class FieldValidationTest extends \tests\integration\Core\BaseTestCase $this->assertTrue(true); } + + public function testSkipRequired() + { + $this->getContainer()->get('serviceFactory')->create('Meeting')->create((object) [ + 'name' => 'test', + 'dateStart' => '2021-01-01 00:00:00', + 'duration' => 1000, + 'assignedUserId' => '1', + ]); + + $this->assertTrue(true); + } }