File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
plugins/wpgraphql-logging
tests/wpunit/Admin/View/List Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,6 @@ public static function get_schema(): string {
283283 */
284284 public static function get_table_name (): string {
285285 global $ wpdb ;
286- // @TODO - Check for multisite
287286 return $ wpdb ->prefix . 'wpgraphql_logging ' ;
288287 }
289288
Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ public function test_column_cb_returns_checkbox_for_valid_item(): void {
9696
9797 $ result = $ this ->list_table ->column_cb ($ entity );
9898
99- $ this ->assertStringContainsString ('<input type="checkbox" ' , $ result );
99+ $ this ->assertStringContainsString ('<label class="screen-reader-text" ' , $ result );
100+ $ this ->assertStringContainsString ('Select log entry 123 ' , $ result );
101+ $ this ->assertStringContainsString ('<input id="cb-select-123" type="checkbox" ' , $ result );
100102 $ this ->assertStringContainsString ('value="123" ' , $ result );
101103 }
102104
You can’t perform that action at this time.
0 commit comments