forked from eatvio/eatvio_app
feat(tests): add fixtures
This commit is contained in:
@@ -230,7 +230,8 @@ void main() {
|
||||
await tester.pump();
|
||||
|
||||
// Assert
|
||||
expect(blogPostRepository.deleteCalls.single, 1);
|
||||
final deleteFixture = FixtureReader.readAsMap('blog_post_create/delete_request.json');
|
||||
expect(blogPostRepository.deleteCalls.single, deleteFixture['id']);
|
||||
expect(feedProbe.loadRequests, 1);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user