neon_arch commited on
Commit
9a4e450
1 Parent(s): c0d2d1a

✅ test(integration): fix the integration by providing an extra function argument (#424)

Browse files
Files changed (1) hide show
  1. tests/index.rs +6 -1
tests/index.rs CHANGED
@@ -24,7 +24,12 @@ async fn test_index() {
24
  assert_eq!(res.status(), 200);
25
 
26
  let config = Config::parse(true).unwrap();
27
- let template = views::index::index(&config.style.colorscheme, &config.style.theme).0;
 
 
 
 
 
28
  assert_eq!(res.text().await.unwrap(), template);
29
  }
30
 
 
24
  assert_eq!(res.status(), 200);
25
 
26
  let config = Config::parse(true).unwrap();
27
+ let template = views::index::index(
28
+ &config.style.colorscheme,
29
+ &config.style.theme,
30
+ &config.style.animation,
31
+ )
32
+ .0;
33
  assert_eq!(res.text().await.unwrap(), template);
34
  }
35