cleanup pageciews tests
@@ -269,7 +269,6 @@ pub async fn refresh_db_auth() {
#[cfg(test)]
mod tests {
- use crate::analytics::PageViews;
use crate::auth_logins::refresh_db_auth;
use crate::db::Database;
use crate::models::{AuthUserLogins, AuthUsers};
@@ -301,10 +300,6 @@ mod tests {
// Update auth user logins in airtable.
AuthUserLogins(auth_user_logins).update_airtable().await;
- let page_views = db.get_page_views();
- // Update auth user logins in airtable.
- PageViews(page_views).update_airtable().await;
-
let auth_user_logins = db.get_auth_user_logins();
// Update auth user logins in airtable.
AuthUserLogins(auth_user_logins).update_airtable().await;
