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
5d7daccc
Commit
5d7daccc
authored
May 08, 2019
by
Daniel Brüning
Committed by
Robert Czechowski
Aug 05, 2019
Browse files
WIP: Adding a test to see if group creation and group login work
parent
04a1e9dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.rs
View file @
5d7daccc
...
...
@@ -397,4 +397,13 @@ mod tests {
})
}
#[test]
fn
check_group_creation_and_group_code_login
()
{
start_server_and_fn
(
8084
,
Some
((
"testusr"
.to_string
(),
"testpw"
.to_string
())),
||
{
let
mut
client
=
reqwest
::
Client
::
new
()
.unwrap
();
client
.redirect
(
reqwest
::
RedirectPolicy
::
custom
(|
attempt
|
attempt
.stop
()));
let
resp
=
login_for_tests
(
8084
,
&
client
,
"testusr"
,
"testpw"
);
})
}
}
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