Skip to content

Commit 0afe4ab

Browse files
committed
Assert all properties
1 parent 3855c86 commit 0afe4ab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/framework/tests/Unit/Console/Helpers/ViewPublishGroupTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ public function testCanCreateGroup()
3838
$group = ViewPublishGroup::fromGroup('layouts');
3939

4040
$this->assertInstanceOf(ViewPublishGroup::class, $group);
41+
42+
$this->assertSame($group->group, 'layouts');
43+
$this->assertSame($group->name, 'Layouts');
44+
$this->assertSame($group->description, "Publish the 'layouts' files for customization.");
45+
$this->assertSame($group->source, 'packages/framework/resources/views/layouts');
46+
$this->assertSame($group->target, 'resources/views/vendor/hyde/layouts');
47+
$this->assertSame($group->files, ["app.blade.php", "page.blade.php", "post.blade.php"]);
4148
}
4249
}
4350

0 commit comments

Comments
 (0)