File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/Newsletter/Controller Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function testSuccessUnsubscribeSubscribedUser()
46
46
$ this ->dispatch ('newsletter/subscriber/unsubscribe ' );
47
47
48
48
$ this ->assertSessionMessages ($ this ->equalTo (['You unsubscribed. ' ]));
49
- $ this ->assertRedirect ($ this ->stringStartsWith ($ this ->getBaseUrl ()));
49
+ $ this ->assertRedirect ($ this ->equalTo ($ this ->getBaseUrl () . ' index.php/ ' ));
50
50
}
51
51
52
52
/**
@@ -62,7 +62,7 @@ public function testFailureUnsubscribeSubscribedUser()
62
62
$ this ->dispatch ('newsletter/subscriber/unsubscribe ' );
63
63
64
64
$ this ->assertSessionMessages ($ this ->equalTo (['This is an invalid subscription confirmation code. ' ]));
65
- $ this ->assertRedirect ($ this ->stringStartsWith ($ this ->getBaseUrl ()));
65
+ $ this ->assertRedirect ($ this ->equalTo ($ this ->getBaseUrl () . ' index.php/ ' ));
66
66
}
67
67
68
68
/**
You can’t perform that action at this time.
0 commit comments