Skip to content

Commit

Permalink
test: use correct hook in test
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 25, 2020
1 parent 6689ecf commit 421320c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/hook/session_destroyer_test.go
Expand Up @@ -32,7 +32,7 @@ func TestSessionDestroyer(t *testing.T) {
viper.Set(configuration.ViperKeyPublicBaseURL, "http://localhost/")
viper.Set(configuration.ViperKeyDefaultIdentitySchemaURL, "file://./stub/stub.schema.json")

h := hook.NewSessionIssuer(reg)
h := hook.NewSessionDestroyer(reg)

t.Run("method=ExecuteLoginPostHook", func(t *testing.T) {
var i identity.Identity
Expand Down

0 comments on commit 421320c

Please sign in to comment.