Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszUrbanowicz committed Nov 27, 2015
1 parent b04e0d3 commit 11af78b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/_support/FunctionalTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function logout()
/**
* Create user and return entity
*
* @param bool|false $attributes
* @param array $attributes
*
* @return User
*/
Expand All @@ -107,6 +107,14 @@ public function haveUser($attributes = [])
return $this->userRepo->create($fakeAttributes);
}

/**
* Create content and return entity
*
* @param bool|false $attributes
* @param null $user
*
* @return Content
*/
public function haveContent($attributes = false, $user = null)
{
$fakeAttributes = [
Expand Down

0 comments on commit 11af78b

Please sign in to comment.