diff options
author | Josh Woody <a_jelly_doughnut@phpbb.com> | 2010-06-29 21:47:18 -0500 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-29 17:50:11 +0200 |
commit | 67393751356e9f02f7c1ab0a2f7a3a508403edc3 (patch) | |
tree | 3ce9667e340307f77f2679f470ddb1f645aa2558 /tests/class_visibility/user_mock.php | |
parent | fb13ab83e476d2afbc7bb181f7ab90df98f996da (diff) | |
download | forums-67393751356e9f02f7c1ab0a2f7a3a508403edc3.tar forums-67393751356e9f02f7c1ab0a2f7a3a508403edc3.tar.gz forums-67393751356e9f02f7c1ab0a2f7a3a508403edc3.tar.bz2 forums-67393751356e9f02f7c1ab0a2f7a3a508403edc3.tar.xz forums-67393751356e9f02f7c1ab0a2f7a3a508403edc3.zip |
[feature/soft-delete] Add unit tests for the phpbb_visibility class
Add unit tests for the phpbb_visibility class. Adjust the phpbb_visibility class to pass those unit tests. The changes are pretty small, actually.
PHPBB3-9657
Diffstat (limited to 'tests/class_visibility/user_mock.php')
-rw-r--r-- | tests/class_visibility/user_mock.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/class_visibility/user_mock.php b/tests/class_visibility/user_mock.php new file mode 100644 index 0000000000..cbeec23875 --- /dev/null +++ b/tests/class_visibility/user_mock.php @@ -0,0 +1,17 @@ +<?php
+/**
+*
+* @package testing
+* @version $Id$
+* @copyright (c) 2008 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/*
+* Mock a very basic user object, only having data array.
+*/
+class phpbb_user_mock
+{
+ public $data;
+}
\ No newline at end of file |