Skip to content

Commit d5f4b14

Browse files
committed
UsersActivationServiceImplTest: use constant from TestObjects instead of creation of temporary object.
No functional changes.
1 parent 4fc7b63 commit d5f4b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/groovy/ru/mystamps/web/service/UsersActivationServiceImplTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class UsersActivationServiceImplTest extends Specification {
219219

220220
def "remove() should pass argument to DAO method"() {
221221
given:
222-
String activationKey = TestObjects.createUsersActivation().getActivationKey()
222+
String activationKey = TestObjects.TEST_ACTIVATION_KEY
223223
when:
224224
service.remove(activationKey)
225225
then:

0 commit comments

Comments
 (0)