File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ public function testExecuteSuccess(): void
4444
4545 $ this ->stubUrlGenerator
4646 ->method ('generate ' )
47- ->willReturn ('https://example.org/login?loginToken=generated-token ' );
47+ ->willReturn ('https://app. example.org/login?loginToken=generated-token ' );
4848
4949 $ tester = new CommandTester ($ this ->command );
5050 $ result = $ tester ->execute (['username ' => 'testuser ' ]);
5151
5252 $ this ->assertSame (Command::SUCCESS , $ result );
53- $ this ->assertStringContainsString ('https://example.org/login?loginToken=generated-token ' , $ tester ->getDisplay ());
53+ $ this ->assertStringContainsString ('https://app. example.org/login?loginToken=generated-token ' , $ tester ->getDisplay ());
5454 }
5555
5656 public function testExecutePassesTokenAndRouteToUrlGenerator (): void
@@ -63,7 +63,7 @@ public function testExecutePassesTokenAndRouteToUrlGenerator(): void
6363 $ urlGenerator ->expects ($ this ->once ())
6464 ->method ('generate ' )
6565 ->with ('cli_login_route ' , ['loginToken ' => 'generated-token ' ], UrlGeneratorInterface::ABSOLUTE_URL )
66- ->willReturn ('https://example.org/login?loginToken=generated-token ' );
66+ ->willReturn ('https://app. example.org/login?loginToken=generated-token ' );
6767
6868 $ command = new UserLoginCommand (
6969 $ this ->stubCliLoginHelper ,
You can’t perform that action at this time.
0 commit comments