Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions tests/Unit/CSSList/AtRuleBlockListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class AtRuleBlockListTest extends TestCase
*/
public function implementsAtRule(): void
{
$subject = new AtRuleBlockList('');
$subject = new AtRuleBlockList('supports');

self::assertInstanceOf(AtRuleBlockList::class, $subject);
}
Expand All @@ -31,7 +31,7 @@ public function implementsAtRule(): void
*/
public function implementsRenderable(): void
{
$subject = new AtRuleBlockList('');
$subject = new AtRuleBlockList('supports');

self::assertInstanceOf(Renderable::class, $subject);
}
Expand All @@ -41,7 +41,7 @@ public function implementsRenderable(): void
*/
public function implementsCommentable(): void
{
$subject = new AtRuleBlockList('');
$subject = new AtRuleBlockList('supports');

self::assertInstanceOf(Commentable::class, $subject);
}
Expand All @@ -51,7 +51,7 @@ public function implementsCommentable(): void
*/
public function atRuleNameReturnsTypeProvidedToConstructor(): void
{
$type = 'foo';
$type = 'keyframes';

$subject = new AtRuleBlockList($type);

Expand All @@ -63,7 +63,7 @@ public function atRuleNameReturnsTypeProvidedToConstructor(): void
*/
public function getLineNoByDefaultReturnsZero(): void
{
$subject = new AtRuleBlockList('');
$subject = new AtRuleBlockList('supports');

self::assertSame(0, $subject->getLineNo());
}
Expand All @@ -73,7 +73,7 @@ public function getLineNoByDefaultReturnsZero(): void
*/
public function atRuleArgsByDefaultReturnsEmptyString(): void
{
$subject = new AtRuleBlockList('');
$subject = new AtRuleBlockList('supports');

self::assertSame('', $subject->atRuleArgs());
}
Expand Down Expand Up @@ -107,7 +107,7 @@ public function getLineNoReturnsLineNumberProvidedToConstructor(): void
*/
public function isRootListAlwaysReturnsFalse(): void
{
$subject = new AtRuleBlockList('');
$subject = new AtRuleBlockList('supports');

self::assertFalse($subject->isRootList());
}
Expand Down