You've already forked AstralRinth
forked from didirus/AstralRinth
Misc testing improvements (#805)
* made dummy data more consistent; not an option * fixed variable dropping issue crashing actix (?) * removed scopes specific tests, removed schedule tests * team routes use api * removed printlns, fmt clippy prepare
This commit is contained in:
@@ -60,6 +60,9 @@ pub async fn pat_full_test() {
|
||||
let mock_pat_test = |token: &str| {
|
||||
let token = token.to_string();
|
||||
async {
|
||||
// This uses a route directly instead of an api call because it doesn't relaly matter and we
|
||||
// want it to succeed no matter what.
|
||||
// This is an arbitrary request.
|
||||
let req = test::TestRequest::post()
|
||||
.uri("/v3/collection")
|
||||
.append_header(("Authorization", token))
|
||||
|
||||
Reference in New Issue
Block a user