Skip to content

Commit

Permalink
test: remove @PendingFeature from RegisterSpec
Browse files Browse the repository at this point in the history
Also remove `@Stepwise` and `@DirtiesContext`. The test seems to run successfully without these.
  • Loading branch information
matrei committed Dec 22, 2024
1 parent b2c9ec2 commit d1a19ce
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
package spec

import grails.testing.mixin.integration.Integration
import org.springframework.test.annotation.DirtiesContext
import page.register.ForgotPasswordPage
import page.register.RegisterPage
import page.user.UserEditPage
import page.user.UserSearchPage

import com.dumbster.smtp.SimpleSmtpServer
import com.dumbster.smtp.SmtpMessage
import spock.lang.PendingFeature
import spock.lang.Stepwise

@DirtiesContext(classMode=DirtiesContext.ClassMode.BEFORE_CLASS)
@Stepwise
@Integration
class RegisterSpec extends AbstractSecuritySpec {

Expand Down Expand Up @@ -77,9 +72,6 @@ class RegisterSpec extends AbstractSecuritySpec {
assertContentContains 'No user was found with that username'
}

// FIXME
@DirtiesContext
@PendingFeature(reason="test is failing at resetPassword stage")
void testRegisterAndForgotPassword() {

given:
Expand Down

0 comments on commit d1a19ce

Please sign in to comment.