Skip to content

Commit

Permalink
Fix detach user later
Browse files Browse the repository at this point in the history
  • Loading branch information
makladuxbert committed Aug 29, 2017
1 parent 3e05546 commit f58cbf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/RoleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ public function it_has_user_models_of_the_right_class()
$this->assertCount(1, $this->testUserRole->users);
$this->assertTrue($this->testUserRole->users->first()->is($this->testUser));
$this->assertInstanceOf(User::class, $this->testUserRole->users->first());

// FIXME mongodb detach
// $this->testUser->delete();
// $this->assertCount(0, $this->testUserRole->users);
}

/** @test */
Expand Down

0 comments on commit f58cbf1

Please sign in to comment.