Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2021
Kelas D
PT Gizi Sehat - Dietela
Dietela Backend
Commits
4b8c921b
Commit
4b8c921b
authored
Apr 24, 2021
by
Kefas Satrio Bangkit Solideantyo
Browse files
fix test failure
parent
3cf7f9a0
Pipeline
#71901
passed with stage
in 15 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
authentication/tests.py
View file @
4b8c921b
...
...
@@ -195,7 +195,7 @@ class UserModelTests(APITestCase):
self
.
assertIn
(
'access_token'
,
json_response
)
self
.
assertIn
(
'refresh_token'
,
json_response
)
self
.
assertIn
(
'user'
,
json_response
)
self
.
assert
Equals
(
json_response
.
get
(
'user'
)
.
get
(
'id'
),
2
)
self
.
assert
True
(
'id'
in
json_response
.
get
(
'user'
))
self
.
assertEquals
(
json_response
.
get
(
'user'
).
get
(
'name'
),
'tes'
)
self
.
assertEqual
(
response
.
status_code
,
status
.
HTTP_200_OK
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment