fixed typos
This commit is contained in:
+1
-1
@@ -143,7 +143,7 @@ func (app *BaseApp) registerMFAHooks() {
|
||||
err = e.App.DeleteAllMFAsByRecord(e.Record)
|
||||
if err != nil {
|
||||
return fmt.Errorf(
|
||||
"[%s] failed to delete all previos MFAs for record %q: %w",
|
||||
"[%s] failed to delete all previous MFAs for record %q: %w",
|
||||
e.Record.Collection().Name,
|
||||
e.Record.Id,
|
||||
err,
|
||||
|
||||
@@ -165,6 +165,7 @@ func TestNotifyWatcher_CollectionsUpdate(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err := app1.Delete(dummyCollection); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
// block until released or timeouted
|
||||
|
||||
+1
-1
@@ -139,7 +139,7 @@ func (app *BaseApp) registerOTPHooks() {
|
||||
err := e.App.DeleteAllOTPsByRecord(e.Record)
|
||||
if err != nil {
|
||||
return fmt.Errorf(
|
||||
"[%s] failed to delete all previos OTPs for record %q: %w",
|
||||
"[%s] failed to delete all previous OTPs for record %q: %w",
|
||||
e.Record.Collection().Name,
|
||||
e.Record.Id,
|
||||
err,
|
||||
|
||||
Reference in New Issue
Block a user