Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 2823f9e

Browse files
committed
Fixed CS issues via phpcbf
1 parent 0f1b73e commit 2823f9e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

test/AuthenticationMiddlewareTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public function testProcessWithAuthenticatedUser()
6363
$this->delegate->process($this->request->reveal())
6464
->willReturn($response->reveal());
6565

66-
$middleware = new AuthenticationMiddleware($this->authentication->reveal());
67-
$result = $middleware->process($this->request->reveal(), $this->delegate->reveal());
66+
$middleware = new AuthenticationMiddleware($this->authentication->reveal());
67+
$result = $middleware->process($this->request->reveal(), $this->delegate->reveal());
6868

69-
$this->assertInstanceOf(ResponseInterface::class, $result);
70-
$this->assertEquals($response->reveal(), $result);
71-
$this->delegate->process($this->request->reveal())->shouldBeCalled();
69+
$this->assertInstanceOf(ResponseInterface::class, $result);
70+
$this->assertEquals($response->reveal(), $result);
71+
$this->delegate->process($this->request->reveal())->shouldBeCalled();
7272
}
7373
}

test/UserRepository/HtpasswdFactoryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Zend\Expressive\Authentication\UserRepository\Htpasswd;
1212
use Zend\Expressive\Authentication\UserRepository\HtpasswdFactory;
1313

14-
1514
class HtpasswdFactoryTest extends TestCase
1615
{
1716
protected function setUp()

test/UserRepository/PdoDatabaseFactoryTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Zend\Expressive\Authentication\UserRepository\PdoDatabase;
1212
use Zend\Expressive\Authentication\UserRepository\PdoDatabaseFactory;
1313

14-
1514
class PdoDatabaseFactoryTest extends TestCase
1615
{
1716
protected function setUp()
@@ -71,7 +70,7 @@ public function testInvokeWithValidConfig()
7170
{
7271
$this->container->get('config')->willReturn([
7372
'authentication' => [
74-
'pdo' => [
73+
'pdo' => [
7574
'dsn' => 'sqlite:'. __DIR__ . '/../TestAssets/pdo.sqlite',
7675
'table' => 'user',
7776
'field' => [

0 commit comments

Comments
 (0)