File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,24 @@ class TestMslsOptionsTax extends MslsUnitTestCase {
1414 protected function setUp (): void {
1515 parent ::setUp ();
1616
17- Functions \expect ( 'get_option ' )->once ()->andReturn ( [] );
17+ Functions \expect ( 'get_option ' )->once ()->andReturn ( array () );
1818
1919 $ this ->test = new MslsOptionsTax ( 0 );
2020 }
2121
22- public function test_get_tax_query_method (): void {
22+ public function test_get_tax_query (): void {
2323 $ this ->assertIsString ( $ this ->test ->get_tax_query () );
2424 }
2525
26- public function test_get_postlink_method (): void {
26+ public function test_get_postlink (): void {
2727 $ this ->assertIsString ( $ this ->test ->get_postlink ( 'de_DE ' ) );
2828 }
2929
30- public function test_get_current_link_method (): void {
30+ public function test_get_current_link (): void {
3131 $ this ->assertIsString ( $ this ->test ->get_current_link () );
3232 }
3333
34+ public function test_get_term_link (): void {
35+ $ this ->assertIsString ( $ this ->test ->get_term_link ( 42 ) );
36+ }
3437}
You can’t perform that action at this time.
0 commit comments