🧪 test: fix undefined BDD step for JWT retention period
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
"dance-lessons-coach/pkg/bdd/testserver"
|
||||
|
||||
"github.com/cucumber/godog"
|
||||
"github.com/golang-jwt/jwt/v5"
|
||||
)
|
||||
|
||||
@@ -182,7 +183,7 @@ func (s *AuthSteps) theRegistrationShouldBeSuccessful() error {
|
||||
|
||||
func (s *AuthSteps) iShouldBeAbleToAuthenticateWithTheNewCredentials() error {
|
||||
// This is the same as regular authentication
|
||||
return nil
|
||||
return godog.ErrPending
|
||||
}
|
||||
|
||||
func (s *AuthSteps) iAmAuthenticatedAsAdmin() error {
|
||||
@@ -212,7 +213,7 @@ func (s *AuthSteps) thePasswordResetShouldBeAllowed() error {
|
||||
|
||||
func (s *AuthSteps) theUserShouldBeFlaggedForPasswordReset() error {
|
||||
// This is verified by the password reset request being successful
|
||||
return nil
|
||||
return godog.ErrPending
|
||||
}
|
||||
|
||||
func (s *AuthSteps) iCompletePasswordResetForWithNewPassword(username, password string) error {
|
||||
@@ -251,7 +252,7 @@ func (s *AuthSteps) thePasswordResetShouldBeSuccessful() error {
|
||||
|
||||
func (s *AuthSteps) iShouldBeAbleToAuthenticateWithTheNewPassword() error {
|
||||
// This is the same as regular authentication
|
||||
return nil
|
||||
return godog.ErrPending
|
||||
}
|
||||
|
||||
func (s *AuthSteps) thePasswordResetShouldFail() error {
|
||||
|
||||
Reference in New Issue
Block a user