Skip to content

Commit

Permalink
ensure column is not present prior to run()
Browse files Browse the repository at this point in the history
  • Loading branch information
jblz committed Jan 19, 2022
1 parent 9275ad2 commit 73063de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Integration/UI/NetworkAdminSitesListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ public function set_up(): void {
* @return void
*/
public function test_api_key_column_is_present(): void {
$columns = $this->table->get_columns();
self::assertArrayNotHasKey( 'parsely-api-key', $columns );

self::$sites_list->run();
$columns = $this->table->get_columns();

Expand Down

0 comments on commit 73063de

Please sign in to comment.