From 9a4e450766c6be7c4492abe8379001a532cf0b19 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Mon, 11 Dec 2023 21:15:11 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(integration):=20fix=20the=20in?= =?UTF-8?q?tegration=20by=20providing=20an=20extra=20function=20argument?= =?UTF-8?q?=20(#424)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/index.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/index.rs b/tests/index.rs index 892e0b9..563c2d9 100644 --- a/tests/index.rs +++ b/tests/index.rs @@ -24,7 +24,12 @@ async fn test_index() { assert_eq!(res.status(), 200); let config = Config::parse(true).unwrap(); - let template = views::index::index(&config.style.colorscheme, &config.style.theme).0; + let template = views::index::index( + &config.style.colorscheme, + &config.style.theme, + &config.style.animation, + ) + .0; assert_eq!(res.text().await.unwrap(), template); }