write test for azmayesh type entity

This commit is contained in:
2024-11-17 14:13:25 +03:30
parent 117bf0269e
commit a84b1f9469
14 changed files with 588 additions and 9 deletions

View File

@@ -76,7 +76,9 @@ class UpdateTest extends TestCase
$this->assertDatabaseHas('azmayesh_samples', [
'azmayesh_id' => $data['azmayesh_id'],
'data' => $data['data'],
// 'data' => $data['data'],
]);
$this->assertEquals(AzmayeshSample::first()->data, $data['data']);
}
}