Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Nov 5, 2024
1 parent 96b912f commit 9936da3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/integration/subject_mappings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,16 +640,16 @@ func (s *SubjectMappingsSuite) TestDeleteSubjectConditionSet_WithNonExistentId_F

func (s *SubjectMappingsSuite) TestDeleteAllUnmappedSubjectConditionSets() {
// create two new subject condition sets, create a subject mapping with one of them, then verify only the unmapped is deleted
new := &subjectmapping.SubjectConditionSetCreate{
newScs := &subjectmapping.SubjectConditionSetCreate{
// content of subject sets is irrelevant to this test
SubjectSets: []*policy.SubjectSet{},
}

unmapped, err := s.db.PolicyClient.CreateSubjectConditionSet(s.ctx, new)
unmapped, err := s.db.PolicyClient.CreateSubjectConditionSet(s.ctx, newScs)
s.Require().NoError(err)
s.NotNil(unmapped)

mapped, err := s.db.PolicyClient.CreateSubjectConditionSet(s.ctx, new)
mapped, err := s.db.PolicyClient.CreateSubjectConditionSet(s.ctx, newScs)
s.Require().NoError(err)
s.NotNil(mapped)

Expand Down

0 comments on commit 9936da3

Please sign in to comment.