1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:54:05 +00:00

Improve naming

This commit is contained in:
lukinovec 2022-09-12 16:26:55 +02:00
parent 08057f8eff
commit 7e9294d40c

View file

@ -94,7 +94,7 @@ test('migrate command loads schema state', function () {
expect(Schema::hasTable('users'))->toBeTrue();
});
test('migrate command doesnt throw error if skip-failing is passed', function() {
test('migrate command does not throw exception if tenant does not have a database and skip-failing is passed', function() {
Tenant::create();
Event::forget(TenantCreated::class);
@ -109,7 +109,7 @@ test('migrate command doesnt throw error if skip-failing is passed', function()
expect(fn() => pest()->artisan('tenants:migrate --schema-path="tests/Etc/tenant-schema.dump"'))->toThrow(Exception::class);
expect(fn() => pest()->artisan('tenants:migrate --schema-path="tests/Etc/tenant-schema.dump" --skip-failing'))->not()->toThrow(Exception::class);
})->group('migrate');
});
test('dump command works', function () {
$tenant = Tenant::create();