Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
1d69dbd8
Commit
1d69dbd8
authored
Jan 30, 2020
by
Robert Czechowski
Browse files
Fix test: Fix groupcode test to reflect change in first login profile URL
parent
8202e2b3
Pipeline
#354
passed with stages
in 15 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.rs
View file @
1d69dbd8
...
...
@@ -534,7 +534,7 @@ mod tests {
assert
!
(
set_cookie
.next
()
.is_none
());
let
location
=
resp
.headers
()
.get
(
reqwest
::
header
::
LOCATION
)
.unwrap
()
.to_str
()
.unwrap
();
assert_eq!
(
location
,
"http://localhost:8084/profile"
);
assert_eq!
(
location
,
"http://localhost:8084/profile
?status=firstlogin
"
);
let
mut
resp
=
client
.get
(
location
)
.send
()
.unwrap
();
let
content
=
resp
.text
()
.unwrap
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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