From 7aa0d1ebb0995a59e753d71ed3860efb1efe0a70 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Fri, 17 Apr 2020 21:12:33 +0800 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D1=81=D1=85=D0=B5=D0=BC=20=D0=B4=D0=BE=D0=BA=D1=83=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/Unit/SchemaTest.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/Unit/SchemaTest.php diff --git a/tests/Unit/SchemaTest.php b/tests/Unit/SchemaTest.php new file mode 100644 index 0000000..2cfb739 --- /dev/null +++ b/tests/Unit/SchemaTest.php @@ -0,0 +1,30 @@ +assertIsObject(SellSchema::get()); + $this->assertJson(SellSchema::json()); + } + + /** + * Тестирует корректность работы объекта схемы документа + * коррекции прихода, коррекции расхода + */ + public function testCorrectionSchema() + { + $this->assertIsObject(CorrectionSchema::get()); + $this->assertJson(CorrectionSchema::json()); + } +}