Skip to content

Commit 72c2cd1

Browse files
committed
Test for get_base_option() added
1 parent 65d75af commit 72c2cd1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/phpunit/TestMslsOptionsTax.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ public function test_get_term_link_wp_error(): void {
147147
public function test_get_term_link_empty(): void {
148148
Functions\expect( 'is_woocommerce' )->once()->andReturn( false );
149149

150-
$test = $this->MslsOptionsTaxFactory();
150+
$this->assertEquals( '', $this->MslsOptionsTaxFactory()->get_term_link( 42 ) );
151+
}
151152

152-
$this->assertEquals( '', $test->get_term_link( 42 ) );
153+
public function test_get_base_option() {
154+
$this->assertEquals( '', MslsOptionsTax::get_base_option() );
153155
}
154156
}

0 commit comments

Comments
 (0)