Skip to content

Commit

Permalink
Update AdvancedFormTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Apr 5, 2024
1 parent 3263951 commit c171920
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/wpunit/blocks/AdvancedFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public function testFormCptRegistered() {
$this->assertTrue( $this->tester->is_cpt_registered( $this->post_type ), 'Kadence Form CPT is registered' );
}

// public function testIsScriptRegistered() {
// $this->block->register_scripts();
public function testIsScriptRegistered() {
$this->block->register_scripts();

// $this->assertTrue( wp_script_is( 'kadence-blocks-' . $this->block_name, 'registered' ), 'Base script is registered' );
// }
$this->assertTrue( wp_script_is( 'kadence-blocks-' . $this->block_name, 'registered' ), 'Base script is registered' );
}

}

0 comments on commit c171920

Please sign in to comment.