Fix typo in associations_test.go (#4407)

occured -> occurred
This commit is contained in:
Ikko Ashimine 2021-05-27 18:40:28 +09:00 committed by GitHub
parent ac722c16f9
commit bcf2b385a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func TestAssociationNotNullClear(t *testing.T) {
} }
if err := DB.Model(member).Association("Profiles").Clear(); err == nil { if err := DB.Model(member).Association("Profiles").Clear(); err == nil {
t.Fatalf("No error occured during clearind not null association") t.Fatalf("No error occurred during clearind not null association")
} }
} }