@@ -23,7 +23,7 @@ def test_successful_login(self):
23
23
24
24
# Then
25
25
self .assertEqual (str , type (response .json ['message' ]))
26
- self .assertEqual (200 , response .status_code )
26
+ self .assertEqual (410 , response .status_code )
27
27
28
28
def test_login_with_invalid_user (self ):
29
29
# Given
@@ -45,7 +45,7 @@ def test_login_with_invalid_user(self):
45
45
"Please update your Smarter API client to the latest version" ,
46
46
response .json ['message' ]
47
47
)
48
- self .assertEqual (200 , response .status_code )
48
+ self .assertEqual (410 , response .status_code )
49
49
50
50
def test_login_with_invalid_password (self ):
51
51
# Given
@@ -67,7 +67,7 @@ def test_login_with_invalid_password(self):
67
67
"Please update your Smarter API client to the latest version" ,
68
68
response .json ['message' ]
69
69
)
70
- self .assertEqual (200 , response .status_code )
70
+ self .assertEqual (410 , response .status_code )
71
71
72
72
def test_login_with_missing_fields (self ):
73
73
# Given
@@ -87,4 +87,4 @@ def test_login_with_missing_fields(self):
87
87
"Please update your Smarter API client to the latest version" ,
88
88
response .json ['message' ]
89
89
)
90
- self .assertEqual (200 , response .status_code )
90
+ self .assertEqual (410 , response .status_code )
0 commit comments