Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 869 Bytes

readme.md

File metadata and controls

42 lines (33 loc) · 869 Bytes

Test Suite

Software License Travis Total Downloads

Install

composer require romegasoftware/testsuite --dev

Usage

art make:factory TenantFactory
// TenantFactory.php
$factory->define(App\Tenant::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'domain' => $faker->word,
    ];
});
	use TenantDomain;

    public function setUp()
    {
        parent::setUp();
        $this->user->assignRole('basic user');
    }

	use TenantAdminDomain;