diff --git a/models/membership_test.go b/models/membership_test.go index a2995be..5df5977 100644 --- a/models/membership_test.go +++ b/models/membership_test.go @@ -744,7 +744,7 @@ var _ = Describe("Membership Model", func() { dbClan, err := GetClanByID(testDb, clan.ID) Expect(err).NotTo(HaveOccurred()) - Expect(dbClan.MembershipCount).To(Equal(1)) + Expect(dbClan.MembershipCount).To(Equal(2)) }) It("Should approve it automatically if requestor is the player, clan.AllowApplication=true and clan.AutoJoin=true", func() {