We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e32c1b commit f6ea12fCopy full SHA for f6ea12f
patchwork.json
@@ -0,0 +1 @@
1
+{"redefinable-internals": ["filter_input_array"]}
tests/TestMslsMain.php
@@ -29,9 +29,9 @@ public function test_get_input_array_empty(): void {
29
}
30
31
public function test_get_input_array(): void {
32
- Functions\when('filter_input_array', );
+ Functions\when('filter_input_array' )->justReturn( [ 'some_other_key' => 1, 'msls_input_de_DE' => 2 ] );
33
34
- $this->assertEquals( [ 'de_DE' => 1 ], $this->test->get_input_array( 1 ) );
+ $this->assertEquals( [ 'de_DE' => 2 ], $this->test->get_input_array( 1 ) );
35
36
37
public function test_is_autosave(): void {
0 commit comments