Skip to content

Commit

Permalink
fix gci
Browse files Browse the repository at this point in the history
  • Loading branch information
anvari1313 committed Sep 10, 2024
1 parent 0b2e5d2 commit 32593f9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions internal/authenticator/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ func TestBuilderWithoutAuthenticator(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down Expand Up @@ -61,6 +65,10 @@ func TestBuilderInvalidAuthenticator(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down Expand Up @@ -98,6 +106,10 @@ func TestBuilderInternalAuthenticator(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

vendors, err := b.Authenticators()
Expand Down Expand Up @@ -137,6 +149,10 @@ func TestBuilderInternalAuthenticatorWithInvalidKey(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down Expand Up @@ -191,6 +207,10 @@ func TestBuilderManualAuthenticatorWithoutKey(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down Expand Up @@ -266,6 +286,10 @@ func TestBuilderManualAuthenticator(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

vendors, err := b.Authenticators()
Expand Down Expand Up @@ -339,6 +363,10 @@ func TestBuilderManualAuthenticatorInvalidMapping_1(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down Expand Up @@ -413,6 +441,10 @@ func TestBuilderManualAuthenticatorInvalidMapping_2(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down Expand Up @@ -488,6 +520,10 @@ func TestBuilderManualAuthenticatorInvalidAccess(t *testing.T) {
URL: "",
Timeout: 0,
},
BlackListUserLoggingConfig: config.BlackListUserLogging{
Iss: 0,
UserIDs: []int{},
},
}

_, err := b.Authenticators()
Expand Down

0 comments on commit 32593f9

Please sign in to comment.