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 ba3029e commit 1eb8950
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 @@ -60,6 +60,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 1eb8950

Please sign in to comment.