Skip to content
Permalink
Browse files

Bring tests to green

  • Loading branch information...
mikebronner committed Jun 25, 2019
1 parent 348ccd0 commit af92420fbf2e0772764871713294c21dc15d9986
@@ -1,6 +1,10 @@
# Change Log
[Package Checklist](http://phppackagechecklist.com/#1,2,3,4,6,7,8,9,10,11,12,13,14)

## [0.13.1] - 2019-06-25
### Fixed
- some failing tests (which also fixed a bug).

## [0.13.0] - 2019-06-25
### Added
- details for optional creation of superuser to config file.
@@ -33,7 +33,7 @@ protected function getEntityFromModel(string $modelClass) : string
$policy = app(Gate::class)
->getPolicyFor($modelClass);
return $this->getEntity($policy);
return $this->getEntity(get_class($policy));
}
protected function getPolicies() : Collection
@@ -29,7 +29,7 @@ public function testMembersRelationship()
public function testOwnedByRelationship()
{
$this->assertEquals($this->team->ownedBy->toArray(), $this->user->toArray());
$this->assertEquals($this->team->ownedBy->email, $this->user->email);
}
public function testInvitationsRelationship()
BIN +0 Bytes (100%) tests/database/database.sqlite
Binary file not shown.

0 comments on commit af92420

Please sign in to comment.
You can’t perform that action at this time.