Skip to content

Commit

Permalink
Fix tests & pwa issue
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Feb 4, 2023
1 parent 2ad5c97 commit fae7e32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/app_assets/sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/app_assets/sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn build_request_authenticated(path: &str, appstate: &AppState) -> TestRequest {
#[actix_rt::test]
async fn server_tests() {
let unique_string = atomic_lib::utils::random_string(10);
let opts = Opts::parse_from(&[
let opts = Opts::parse_from([
"atomic-server",
"--initialize",
"--data-dir",
Expand All @@ -54,7 +54,7 @@ async fn server_tests() {
let app = test::init_service(
App::new()
.app_data(data)
.configure(|app| crate::routes::config_routes(app, &appstate.config)),
.configure(crate::routes::config_routes),
)
.await;
let store = &appstate.store;
Expand Down

0 comments on commit fae7e32

Please sign in to comment.