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()); + } +}