1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

update tests

This commit is contained in:
Robin Appelman 2021-08-13 16:52:22 +02:00
commit 13efe65b9e
2 changed files with 6 additions and 6 deletions

View file

@ -121,7 +121,7 @@ fn test_option_parse() {
CloudOptions { CloudOptions {
php: PhpVersion::Php74, php: PhpVersion::Php74,
db: Database::Postgres, db: Database::Postgres,
services: vec![Service::Ldap(LDAP), Service::LdapAdmin(LDAPAdmin)], services: vec![Service::LDAP(LDAP), Service::LDAPAdmin(LDAPAdmin)],
..Default::default() ..Default::default()
} }
); );
@ -131,7 +131,7 @@ fn test_option_parse() {
CloudOptions { CloudOptions {
php: PhpVersion::Php74, php: PhpVersion::Php74,
db: Database::Postgres, db: Database::Postgres,
services: vec![Service::Ldap(LDAP), Service::LdapAdmin(LDAPAdmin)], services: vec![Service::LDAP(LDAP), Service::LDAPAdmin(LDAPAdmin)],
..Default::default() ..Default::default()
} }
); );

View file

@ -4,10 +4,10 @@ mod onlyoffice;
mod push; mod push;
use crate::config::HazeConfig; use crate::config::HazeConfig;
use crate::service::ldap::{LDAPAdmin, LDAP}; pub use crate::service::ldap::{LDAPAdmin, LDAP};
use crate::service::objectstore::ObjectStore; pub use crate::service::objectstore::ObjectStore;
use crate::service::onlyoffice::OnlyOffice; pub use crate::service::onlyoffice::OnlyOffice;
use crate::service::push::NotifyPush; pub use crate::service::push::NotifyPush;
use bollard::models::ContainerState; use bollard::models::ContainerState;
use bollard::Docker; use bollard::Docker;
use color_eyre::{eyre::WrapErr, Result}; use color_eyre::{eyre::WrapErr, Result};