pub fn testing_init(pool: Pool, secret: Secret) -> State {
        State {
            db: db_integration::db_filter(pool),
            secret: secret_filter(secret),
            banned_list: banned_list_filter(BannedList::default()),
        }
    }
/// An initialization of the State struct that should only be used for testing.
/// It uses a parameterized Pool, which allows for the same connections used in testing to be provided,
/// as well as the same secret used to authorize user sign ins.
An initialization of the State struct that should only be used for testing.
It uses a parameterized Pool, which allows for the same connections used in testing to be provided,
as well as the same secret used to authorize user sign ins.
An initialization of the State struct that should only be used for testing . It uses a parameterized Pool which allows for the same connections used in testing to be provided as well as the same secret used to authorize user sign ins .
pub fn testing_init(pool: Pool, secret: Secret) -> State {
        State {
            db: db_integration::db_filter(pool),
            secret: secret_filter(secret),
            banned_list: banned_list_filter(BannedList::default()),
        }
    }
pub fn testing_init ( pool : Pool , secret : Secret ) -> State { State { db : db_integration :: db_filter ( pool ) , secret : secret_filter ( secret ) , banned_list : banned_list_filter ( BannedList :: default ( ) ) , } }
An initialization of the State struct that should only be used for testing.
An initialization of the State struct that should only be used for testing .
pool
Pool
secret
Secret
pool
Pool
secret
Secret