Skip to content

Commit 58d0fc4

Browse files
committed
chore: Remove test for user/<userId>
1 parent c6ffd3b commit 58d0fc4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/backend_test.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -207,18 +207,6 @@ void main() {
207207
)
208208
.test();
209209
});
210-
211-
test('should get user `/users/<userId>` without auth', () async {
212-
final randomUser = await ServerUserQuery.findOne();
213-
expect(randomUser, isA<User>());
214-
215-
await testAgent
216-
.get('$usersApiPath/${randomUser!.id}')
217-
.expectStatus(HttpStatus.ok)
218-
.expectHeader(HttpHeaders.contentTypeHeader, 'application/json; charset=utf-8')
219-
.expectBodyCustom((body) => jsonDecode(body)['user'], randomUser.toJson())
220-
.test();
221-
});
222210
});
223211

224212
group('Articles', () {

0 commit comments

Comments
 (0)