first pass of merging in warp (doesn't build)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_admin_panel_link_generation() {
|
||||
let team_uid = ServerId::from(12345);
|
||||
let expected_link = format!("{}/admin/{}", ChannelState::server_root_url(), team_uid);
|
||||
let actual_link = AdminActions::admin_panel_link_for_team(team_uid);
|
||||
assert_eq!(actual_link, expected_link);
|
||||
}
|
||||
Reference in New Issue
Block a user