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 c6ffd3b commit 58d0fc4Copy full SHA for 58d0fc4
test/backend_test.dart
@@ -207,18 +207,6 @@ void main() {
207
)
208
.test();
209
});
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
- });
222
223
224
group('Articles', () {
0 commit comments