PHP Class BaseTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: hootlex/laravel-moderation Class Usage Examples

Public Methods

Method Description
actingAsUser ( )
createPost ( array $overrides = [], integer $amount = 1 ) : Post

Method Details

actingAsUser() public method

public actingAsUser ( )

createPost() public method

public createPost ( array $overrides = [], integer $amount = 1 ) : Post
$overrides array
$amount integer
return Hootlex\Moderation\Tests\Post