@@ -48,35 +48,87 @@ public function test_can_set_loading_placeholder_attributes(): void
4848    {
4949        $ this basicTable ->setLoadingPlaceholderEnabled ();
5050
51-         $ this assertSame (['default '  => true ], $ this basicTable ->getLoadingPlaceHolderAttributes ());
51+         $ this assertSame (['default '  => true ,  ' default '  =>  true ,  ' default-colors '  =>  true ,  ' default-styling '  =>  true ], $ this basicTable ->getLoadingPlaceHolderAttributes ());
5252
5353        $ this basicTable ->setLoadingPlaceHolderAttributes (['class '  => 'test12345 ' ]);
5454
55-         $ this assertSame (['class '  => 'test12345 ' ], $ this basicTable ->getLoadingPlaceHolderAttributes ());
55+         $ this assertSame (['class '  => 'test12345 ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => false ], $ this basicTable ->getLoadingPlaceHolderAttributes ());
56+ 
57+         $ this basicTable ->setLoadingPlaceHolderAttributes (['class '  => 'test12345 ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ]);
58+ 
59+         $ this assertSame (['class '  => 'test12345 ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderAttributes ());
60+ 
61+         $ this basicTable ->setLoadingPlaceHolderAttributes (['class '  => 'test12345 ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ]);
62+ 
63+         $ this assertSame (['class '  => 'test12345 ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderAttributes ());
5664
5765    }
5866
5967    public  function  test_can_set_loading_placeholder_icon_attributes (): void 
6068    {
6169        $ this basicTable ->setLoadingPlaceholderEnabled ();
6270
63-         $ this assertSame (['default '  => true ], $ this basicTable ->getLoadingPlaceHolderIconAttributes ());
71+         $ this assertSame (['default '  => true ,  ' default-colors '  =>  true ,  ' default-styling '  =>  true ], $ this basicTable ->getLoadingPlaceHolderIconAttributes ());
6472
6573        $ this basicTable ->setLoadingPlaceHolderIconAttributes (['class '  => 'test123 ' ]);
6674
67-         $ this assertSame (['class '  => 'test123 ' ], $ this basicTable ->getLoadingPlaceHolderIconAttributes ());
75+         $ this assertSame (['class '  => 'test123 ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => false ], $ this basicTable ->getLoadingPlaceHolderIconAttributes ());
76+ 
77+         $ this basicTable ->setLoadingPlaceHolderIconAttributes (['class '  => 'test123 ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ]);
78+ 
79+         $ this assertSame (['class '  => 'test123 ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderIconAttributes ());
80+ 
81+         $ this basicTable ->setLoadingPlaceHolderIconAttributes (['class '  => 'test123 ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ]);
82+ 
83+         $ this assertSame (['class '  => 'test123 ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderIconAttributes ());
6884
6985    }
7086
7187    public  function  test_can_set_loading_placeholder_wrapper_attributes (): void 
7288    {
7389        $ this basicTable ->setLoadingPlaceholderEnabled ();
7490
75-         $ this assertSame (['default '  => true ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
91+         $ this assertSame (['default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
92+         $ this assertSame (['default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
7693
7794        $ this basicTable ->setLoadingPlaceHolderWrapperAttributes (['class '  => 'test1234567-wrapper ' ]);
7895
79-         $ this assertSame (['class '  => 'test1234567-wrapper ' ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
96+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => false ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
97+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => false ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
98+ 
99+         $ this basicTable ->setLoadingPlaceHolderWrapperAttributes (['class '  => 'test1234567-wrapper ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ]);
100+ 
101+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
102+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
103+ 
104+         $ this basicTable ->setLoadingPlaceHolderWrapperAttributes (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ]);
105+ 
106+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
107+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
108+ 
109+     }
110+ 
111+     public  function  test_can_set_loading_placeholder_row_attributes (): void 
112+     {
113+         $ this basicTable ->setLoadingPlaceholderEnabled ();
114+ 
115+         $ this assertSame (['default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
116+ 
117+         $ this basicTable ->setLoadingPlaceHolderRowAttributes (['class '  => 'test1234567-wrapper ' ]);
118+ 
119+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => false ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
120+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => false ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
121+ 
122+         $ this basicTable ->setLoadingPlaceHolderRowAttributes (['class '  => 'test1234567-wrapper ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ]);
123+ 
124+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
125+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => true , 'default-colors '  => true , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
126+ 
127+         $ this basicTable ->setLoadingPlaceHolderRowAttributes (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ]);
128+ 
129+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderRowAttributes ());
130+         $ this assertSame (['class '  => 'test1234567-wrapper ' , 'default '  => false , 'default-colors '  => false , 'default-styling '  => true ], $ this basicTable ->getLoadingPlaceHolderWrapperAttributes ());
131+ 
80132    }
81133
82134    public  function  test_can_set_loading_placeholder_custom_blade (): void 
0 commit comments