Skip to content

Commit

Permalink
Add blade test
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe committed Oct 17, 2023
1 parent 3ff4bdd commit 32305b1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/Traits/Configuration/LoadingPlaceholderConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,17 @@ public function can_set_loading_placeholder_wrapper_attributes(): void

$this->assertSame(['class' => 'test1234567-wrapper'], $this->basicTable->getLoadingPlaceHolderWrapperAttributes());
}


/** @test */
public function can_set_loading_placeholder_custom_blade(): void
{
$this->basicTable->setLoadingPlaceholderEnabled();

$this->assertNull($this->basicTable->getLoadingPlaceHolderBlade());

$this->basicTable->setLoadingPlaceholderBlade('test-blade');

$this->assertSame('test-blade', $this->basicTable->getLoadingPlaceHolderBlade());
}
}

0 comments on commit 32305b1

Please sign in to comment.