File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function getSecret(): string
6767
6868 public function setServerBaseUrl (string $ serverBaseUrl ): self
6969 {
70- // add trailing dir-separator if missing
70+ // add tailing dir-separator if missing
7171 if ('/ ' != mb_substr ($ serverBaseUrl , -1 )) {
7272 $ serverBaseUrl .= '/ ' ;
7373 }
Original file line number Diff line number Diff line change @@ -60,19 +60,19 @@ public function testSecret(): void
6060 public function testServerBaseUrl (): void
6161 {
6262 // arrange
63- $ urlWithoutTrailingSeparator = $ this ->faker ->url ;
64- $ urlWithTrailingSeparator = $ urlWithoutTrailingSeparator . '/ ' ;
63+ $ urlWithoutTailingSeparator = $ this ->faker ->url ;
64+ $ urlWithTailingSeparator = $ urlWithoutTailingSeparator . '/ ' ;
6565
6666 // initial value
6767 $ this ->assertEquals ('any url/ ' , $ this ->urlBuilder ->getServerBaseUrl ());
6868
6969 // set value 1 (without)
70- $ this ->urlBuilder ->setServerBaseUrl ($ urlWithoutTrailingSeparator );
71- $ this ->assertEquals ($ urlWithTrailingSeparator , $ this ->urlBuilder ->getServerBaseUrl ());
70+ $ this ->urlBuilder ->setServerBaseUrl ($ urlWithoutTailingSeparator );
71+ $ this ->assertEquals ($ urlWithTailingSeparator , $ this ->urlBuilder ->getServerBaseUrl ());
7272
7373 // set value 2 (with)
74- $ this ->urlBuilder ->setServerBaseUrl ($ urlWithTrailingSeparator );
75- $ this ->assertEquals ($ urlWithTrailingSeparator , $ this ->urlBuilder ->getServerBaseUrl ());
74+ $ this ->urlBuilder ->setServerBaseUrl ($ urlWithTailingSeparator );
75+ $ this ->assertEquals ($ urlWithTailingSeparator , $ this ->urlBuilder ->getServerBaseUrl ());
7676 }
7777
7878 public function testHashingAlgorithm (): void
You can’t perform that action at this time.
0 commit comments