mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:34:04 +00:00
code style
This commit is contained in:
parent
88438d1786
commit
134cb291ea
1 changed files with 3 additions and 3 deletions
|
|
@ -127,7 +127,7 @@ test('only the synced columns are updated in the central db', function () {
|
|||
], ResourceUser::first()->getAttributes());
|
||||
});
|
||||
|
||||
test('sync resource creation works when central model provides attributes and resource model provides default values', function (){
|
||||
test('sync resource creation works when central model provides attributes and resource model provides default values', function () {
|
||||
// when central model provides attributes => resoucre model will be created from the attribute values
|
||||
[$tenant1, $tenant2] = creareTenantsAndRunMigrations();
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ test('sync resource creation works when central model provides attributes and re
|
|||
expect($centralUser->foo)->toBe('bar');
|
||||
});
|
||||
|
||||
test('sync resource creation works when central model provides default values and resource model provides attributes', function (){
|
||||
test('sync resource creation works when central model provides default values and resource model provides attributes', function () {
|
||||
// when central model provides default values => resource model will be created using the default values
|
||||
[$tenant1, $tenant2] = creareTenantsAndRunMigrations();
|
||||
|
||||
|
|
@ -285,7 +285,7 @@ test('sync resource creation works when central model provides mixture and resou
|
|||
expect($centralUser)->toBe($resourceUser);
|
||||
});
|
||||
|
||||
test('sync resource creation works when central model provides nothing and resource model provides mixture using different schemas', function (){
|
||||
test('sync resource creation works when central model provides nothing and resource model provides mixture using different schemas', function () {
|
||||
// when central model provides nothing => resoucre model will be 1:1 copy
|
||||
[$tenant1, $tenant2] = creareTenantsAndRunMigrationsForDifferentSchema();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue