Skip to content

Commit

Permalink
Add test for NewGroupChecker.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taztingo committed Jan 25, 2024
1 parent 85b0157 commit dd61a49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import (
)

func TestNewGroupCheckerFunc(t *testing.T) {

querier := NewMockGroupPolicyQuerier(true)
checker := NewGroupCheckerFunc(querier)
assert.NotNil(t, checker, "should return a group checker function")
}

func TestIsGroupAddress(t *testing.T) {
Expand Down

0 comments on commit dd61a49

Please sign in to comment.