Skip to content
Snippets Groups Projects
Verified Commit eb7297ad authored by Damien's avatar Damien
Browse files

FEAT #11271 TIME 0:05 Fix unit tests

parent 29bc85ba
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,6 @@ class DoctypeController
DoctypeModel::update([
'type_id' => $data['type_id'],
'coll_id' => 'letterbox_coll',
'description' => $data['description'],
'doctypes_first_level_id' => $data['doctypes_first_level_id'],
'doctypes_second_level_id' => $data['doctypes_second_level_id'],
......
......@@ -53,9 +53,6 @@ class DoctypeControllerTest extends TestCase
$this->assertNotNull($responseBody->firstLevel[0]->doctypes_first_level_label);
$this->assertNotNull($responseBody->secondLevel);
$this->assertNotNull($responseBody->processModes);
$this->assertNotNull($responseBody->processModes->processing_modes);
$this->assertNotNull($responseBody->processModes->process_mode_priority);
$this->assertNotNull($responseBody->models);
$this->assertNotNull($responseBody->models[0]->template_id);
$this->assertNotNull($responseBody->models[0]->template_label);
......@@ -460,7 +457,6 @@ class DoctypeControllerTest extends TestCase
$this->assertSame(6, $responseBody->doctype->delay2);
$this->assertSame('SVR', $responseBody->doctype->process_mode);
$this->assertNotNull($responseBody->secondLevel);
$this->assertNotNull($responseBody->processModes);
$this->assertSame(null, $responseBody->doctype->template_id);
$this->assertSame('N', $responseBody->doctype->is_generated);
$this->assertNotNull($responseBody->models);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment