diff --git a/tests/profile/get_profile_value_raw_test.php b/tests/profile/get_profile_value_raw_test.php new file mode 100644 index 0000000000..a9950b1889 --- /dev/null +++ b/tests/profile/get_profile_value_raw_test.php @@ -0,0 +1,52 @@ +getMock('\phpbb\request\request'), + $this->getMock('\phpbb\template\template'), + $this->getMock('\phpbb\user') + ); + + $this->assertSame($expected, $cp->get_profile_value_raw($value, array( + 'field_type' => $type, + 'field_show_novalue' => $show_novalue, + ))); + } +}