Commit 5d7daccc authored by Daniel Brüning's avatar Daniel Brüning Committed by Robert Czechowski
Browse files

WIP: Adding a test to see if group creation and group login work

parent 04a1e9dc
......@@ -397,4 +397,13 @@ mod tests {
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");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment