We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616898e commit cc9ce98Copy full SHA for cc9ce98
examples/todos/test/routes/todos/[id]_test.dart
@@ -129,7 +129,7 @@ void main() {
129
});
130
131
group('DELETE /todos/[id]', () {
132
- test('responds with a 202 and deletes the todo', () async {
+ test('responds with a 204 and deletes the todo', () async {
133
when(() => dataSource.read(any())).thenAnswer((_) async => todo);
134
when(() => dataSource.delete(any())).thenAnswer((_) async => {});
135
when(() => request.method).thenReturn(HttpMethod.delete);
0 commit comments