File tree 1 file changed +7
-4
lines changed
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 {
14
14
protected function setUp (): void {
15
15
parent ::setUp ();
16
16
17
- Functions \expect ( 'get_option ' )->once ()->andReturn ( [] );
17
+ Functions \expect ( 'get_option ' )->once ()->andReturn ( array () );
18
18
19
19
$ this ->test = new MslsOptionsTax ( 0 );
20
20
}
21
21
22
- public function test_get_tax_query_method (): void {
22
+ public function test_get_tax_query (): void {
23
23
$ this ->assertIsString ( $ this ->test ->get_tax_query () );
24
24
}
25
25
26
- public function test_get_postlink_method (): void {
26
+ public function test_get_postlink (): void {
27
27
$ this ->assertIsString ( $ this ->test ->get_postlink ( 'de_DE ' ) );
28
28
}
29
29
30
- public function test_get_current_link_method (): void {
30
+ public function test_get_current_link (): void {
31
31
$ this ->assertIsString ( $ this ->test ->get_current_link () );
32
32
}
33
33
34
+ public function test_get_term_link (): void {
35
+ $ this ->assertIsString ( $ this ->test ->get_term_link ( 42 ) );
36
+ }
34
37
}
You can’t perform that action at this time.
0 commit comments