Skip to content

Commit

Permalink
Merge pull request #18 from italia/feature/symfony4
Browse files Browse the repository at this point in the history
Updated composer for symfony4
  • Loading branch information
marcoalbarelli authored Oct 11, 2018
2 parents a484bfe + 067f556 commit bbc6cbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 52 deletions.
35 changes: 0 additions & 35 deletions Tests/Entity/SpidUserProviderTest.php

This file was deleted.

12 changes: 0 additions & 12 deletions Tests/Security/SpidAuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@ public function testSpidAuthenticatorExtendsAbstractGuardAuthenticator()
$this->assertTrue($authenticator instanceof AbstractGuardAuthenticator);
}

/**
* @test
*/
public function testIGetAnExceptionIfUserProviderIsNotASpidUserProvider()
{
$this->expectException(\InvalidArgumentException::class);

$authenticator = new SpidAuthenticator();
$wrongProvider = $mockLogger = $this->getMockBuilder(UserProviderInterface::class)->getMock();
$authenticator->getUser([], $wrongProvider);
}

/**
* @test
*/
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
],
"require": {
"php": ">=7.0",
"italia/spid-php-lib": "dev-master#b8fb960a39f8febf92fc9ea32df6e637fbbdccb7 as 1.0",
"symfony/framework-bundle": "~2.7|~3.0",
"symfony/console": "~2.7|~3.0",
"symfony/process": "~2.7|~3.0",
"symfony/yaml": "~2.7|~3.0",
"italia/spid-php-lib": "^0.10.0",
"symfony/framework-bundle": "~2.7|~3.0|~4.0",
"symfony/console": "~2.7|~3.0|~4.0",
"symfony/process": "~2.7|~3.0|~4.0",
"symfony/yaml": "~2.7|~3.0|~4.0",
"twig/twig": "^1.28.2|^2.0"
},
"require-dev": {
Expand Down

0 comments on commit bbc6cbc

Please sign in to comment.