Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
StyleCI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikyt committed Mar 11, 2018
1 parent 849edd1 commit 7071b7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ShopifyApp/Middleware/AuthShop.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Closure;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
use OhMyBrew\ShopifyApp\Facades\ShopifyApp;
use Symfony\Component\HttpFoundation\Response;

class AuthShop
{
Expand Down
8 changes: 6 additions & 2 deletions tests/Middleware/AuthShopMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public function testHeadersForEsdkShouldBeAdjusted()

$response = (new AuthShop())->handle(
request(),
function ($request) use (&$called) { }
function ($request) use (&$called) {
// Nothing to do here...
}
);

$this->assertEquals('CP="Not used"', $response->headers->get('p3p'));
Expand All @@ -72,7 +74,9 @@ public function testHeadersForDisabledEsdk()

$response = (new AuthShop())->handle(
request(),
function ($request) use (&$called) { }
function ($request) use (&$called) {
// Nothing to do here...
}
);

$this->assertNull($response->headers->get('p3p'));
Expand Down

0 comments on commit 7071b7b

Please # to comment.