change admin menu url to smtp-server
This commit is contained in:
@@ -56,7 +56,7 @@ func TestAdminMFAEnforcementForcesIsolatedSetupThenReleases(t *testing.T) {
|
||||
if !strings.Contains(body, "Two-factor authentication required") {
|
||||
t.Error("expected the MFA-required heading on /mfa-setup")
|
||||
}
|
||||
if strings.Contains(body, "sidebar") || strings.Contains(body, `href="/pymta-manager/domains"`) {
|
||||
if strings.Contains(body, "sidebar") || strings.Contains(body, `href="/smtp-server/domains"`) {
|
||||
t.Error("expected no sidebar/navigation on the isolated setup page")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user