You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync-DbaLoginPermission.Tests - Spell master in lower case and capture the warning for real
The setup batch says USE Master, which a case sensitive instance rejects ("Database 'Master' does not exist"),
so the whole batch is dropped, the login never exists on the source and the sync finds nothing. The setup
now runs with EnableException like the other files, so a failing setup fails the file instead of two tests
later on. The test also passed -WarningVariable $warn, an empty variable name, which hid that warning and
made the warning assertion vacuous.
(do Sync-DbaLoginPermission)
0 commit comments