We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65d75af commit 72c2cd1Copy full SHA for 72c2cd1
tests/phpunit/TestMslsOptionsTax.php
@@ -147,8 +147,10 @@ public function test_get_term_link_wp_error(): void {
147
public function test_get_term_link_empty(): void {
148
Functions\expect( 'is_woocommerce' )->once()->andReturn( false );
149
150
- $test = $this->MslsOptionsTaxFactory();
+ $this->assertEquals( '', $this->MslsOptionsTaxFactory()->get_term_link( 42 ) );
151
+ }
152
- $this->assertEquals( '', $test->get_term_link( 42 ) );
153
+ public function test_get_base_option() {
154
+ $this->assertEquals( '', MslsOptionsTax::get_base_option() );
155
}
156
0 commit comments