diff --git a/tests/Traits/Configuration/LoadingPlaceholderConfigurationTest.php b/tests/Traits/Configuration/LoadingPlaceholderConfigurationTest.php index 38be0cb00..b76b0d3a6 100644 --- a/tests/Traits/Configuration/LoadingPlaceholderConfigurationTest.php +++ b/tests/Traits/Configuration/LoadingPlaceholderConfigurationTest.php @@ -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()); + } }