]> BookStack Code Mirror - bookstack/blobdiff - tests/SharedTestHelpers.php
Minor capitalisation fix for Estonian
[bookstack] / tests / SharedTestHelpers.php
index 606a3cd9e20c601d9a2f6263c73a17efdffc8d53..04952d22345caa18761466b026ce3b701395599c 100644 (file)
@@ -252,6 +252,7 @@ trait SharedTestHelpers
     /**
      * Mock the http client used in BookStack.
      * Returns a reference to the container which holds all history of http transactions.
+     *
      * @link https://docs.guzzlephp.org/en/stable/testing.html#history-middleware
      */
     protected function &mockHttpClient(array $responses = []): array
@@ -262,6 +263,7 @@ trait SharedTestHelpers
         $handlerStack = new HandlerStack($mock);
         $handlerStack->push($history);
         $this->app[ClientInterface::class] = new Client(['handler' => $handlerStack]);
+
         return $container;
     }