@@ -20,47 +20,47 @@ public function test_initial_wrapper_attributes_get_set(): void
2020
2121    public  function  test_can_set_table_wrapper_attributes (): void 
2222    {
23-         $ this assertSame ($ this basicTable ->getTableWrapperAttributes (), ['default '  => true ]);
23+         $ this assertSame ($ this basicTable ->getTableWrapperAttributes (), ['wire:key '   =>  ' table-twrap ' ,  ' default 'true ]);
2424
2525        $ this basicTable ->setTableWrapperAttributes (['this '  => 'that ' ]);
2626
27-         $ this assertSame ($ this basicTable ->getTableWrapperAttributes (), ['this '  => 'that ' ]);
27+         $ this assertSame ($ this basicTable ->getTableWrapperAttributes (), ['wire:key '   =>  ' table-twrap ' ,  ' this ''that ' ]);
2828    }
2929
3030    public  function  test_can_set_table_attributes (): void 
3131    {
32-         $ this assertSame ($ this basicTable ->getTableAttributes (), ['id '  => 'table- ' .$ this basicTable ->getTableName (), 'default '  => true ]);
32+         $ this assertSame ($ this basicTable ->getTableAttributes (), ['wire:key '   =>  ' table-table ' ,  ' id ''table- ' .$ this basicTable ->getTableName (), 'default '  => true ]);
3333
3434        $ this basicTable ->setTableAttributes (['this '  => 'that ' ]);
3535
36-         $ this assertSame ($ this basicTable ->getTableAttributes (), ['id '  => 'table- ' .$ this basicTable ->getTableName (), 'this '  => 'that ' ]);
36+         $ this assertSame ($ this basicTable ->getTableAttributes (), ['wire:key '   =>  ' table-table ' ,  ' id ''table- ' .$ this basicTable ->getTableName (), 'this '  => 'that ' ]);
3737    }
3838
3939    public  function  test_can_override_table_default_id (): void 
4040    {
41-         $ this assertSame ($ this basicTable ->getTableAttributes (), ['id '  => 'table- ' .$ this basicTable ->getTableName (), 'default '  => true ]);
41+         $ this assertSame ($ this basicTable ->getTableAttributes (), ['wire:key '   =>  ' table-table ' ,  ' id ''table- ' .$ this basicTable ->getTableName (), 'default '  => true ]);
4242
4343        $ this basicTable ->setTableAttributes (['id '  => 'newTableID ' , 'this '  => 'that ' ]);
4444
45-         $ this assertSame ($ this basicTable ->getTableAttributes (), ['id '  => 'newTableID ' , 'this '  => 'that ' ]);
45+         $ this assertSame ($ this basicTable ->getTableAttributes (), ['wire:key '   =>  ' table-table ' ,  ' id ''newTableID ' , 'this '  => 'that ' ]);
4646    }
4747
4848    public  function  test_can_set_thead_attributes (): void 
4949    {
50-         $ this assertSame ($ this basicTable ->getTheadAttributes (), ['default '  => true ]);
50+         $ this assertSame ($ this basicTable ->getTheadAttributes (), ['wire:key '   =>  ' table-thead ' ,  ' default 'true ]);
5151
5252        $ this basicTable ->setTheadAttributes (['this '  => 'that ' ]);
5353
54-         $ this assertSame ($ this basicTable ->getTheadAttributes (), ['this '  => 'that ' ]);
54+         $ this assertSame ($ this basicTable ->getTheadAttributes (), ['wire:key '   =>  ' table-thead ' ,  ' this ''that ' ]);
5555    }
5656
5757    public  function  test_can_set_tbody_attributes (): void 
5858    {
59-         $ this assertSame ($ this basicTable ->getTbodyAttributes (), ['default '  => true ]);
59+         $ this assertSame ($ this basicTable ->getTbodyAttributes (), ['wire:key '   =>  ' table-tbody ' ,  ' id '  =>  ' table-tbody ' ,  ' default 'true ]);
6060
6161        $ this basicTable ->setTbodyAttributes (['this '  => 'that ' ]);
6262
63-         $ this assertSame ($ this basicTable ->getTbodyAttributes (), ['this '  => 'that ' ]);
63+         $ this assertSame ($ this basicTable ->getTbodyAttributes (), ['wire:key '   =>  ' table-tbody ' ,  ' id '  =>  ' table-tbody ' ,  ' this ''that ' ]);
6464    }
6565
6666    public  function  test_can_set_th_attributes (): void 
0 commit comments