Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
FemiNoviaLina committed Jul 19, 2024
1 parent 3ee2f1f commit bafc8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/relation/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func TestService_Create(t *testing.T) {
repository.EXPECT().Create(mock.Anything, testRelationV2).Return(testRelationV2, nil)
authzRepository.EXPECT().AddV2(mock.Anything, testRelationV2).Return(nil)
activityService.EXPECT().Log(mock.Anything, auditKeyRelationCreate,
activity.Actor{Email: "[email protected]", ID: testUserID}, testRelationV2.ToLogData())
activity.Actor{Email: "[email protected]", ID: testUserID}, testRelationV2.ToLogData()).Return(nil)
return relation.NewService(testLogger, repository, authzRepository, userService, activityService)
},
want: testRelationV2,
Expand Down

0 comments on commit bafc8f7

Please sign in to comment.