Skip to content

Commit cc9ce98

Browse files
author
Sandip Pramanik
authored
test(examples/todos): correct status code in description (#311)
1 parent 616898e commit cc9ce98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/todos/test/routes/todos/[id]_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void main() {
129129
});
130130

131131
group('DELETE /todos/[id]', () {
132-
test('responds with a 202 and deletes the todo', () async {
132+
test('responds with a 204 and deletes the todo', () async {
133133
when(() => dataSource.read(any())).thenAnswer((_) async => todo);
134134
when(() => dataSource.delete(any())).thenAnswer((_) async => {});
135135
when(() => request.method).thenReturn(HttpMethod.delete);

0 commit comments

Comments
 (0)