Skip to content

Commit

Permalink
first stable v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbrown committed Jun 9, 2019
1 parent bd73927 commit 16bbdd7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG-1.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CHANGELOG for 1.x
This changelog references the relevant changes done in 1.x versions.


## v1.0.0
* Initial stable version.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "Apache-2.0",
"require": {
"php": ">=7.1",
"gdbots/iam": "~0.3",
"gdbots/ncr-bundle": "~0.3",
"gdbots/iam": "^1.0",
"gdbots/ncr-bundle": "^1.0",
"symfony/security": "^4.1"
},
"require-dev": {
Expand Down
3 changes: 0 additions & 3 deletions tests/Security/PbjxPermissionVoterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ public function testVoteForUser(array $roles = [], array $attributes = [], strin
public function testVoteForApp(array $roles = [], array $attributes = [], string $message, int $expected)
{
$user = new User(IosAppV1::create()->addToSet('roles', $roles));

echo $user->getNode();
$token = new ConcreteToken($user, $user->getRoles());

$this->assertEquals($expected, $this->voter->vote($token, null, $attributes), $message);
}

Expand Down

0 comments on commit 16bbdd7

Please sign in to comment.