aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions/fixtures
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-05-30 20:34:21 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-05-30 20:34:21 +0200
commit33a0859f4ac3454c12dda651f708e16fc6c45adb (patch)
treeebbd521bd4db2d2e16fb0c2f0f00bffd70cce311 /tests/functions/fixtures
parent6d5da402ecfe686a918608875eda8d0d817d4c07 (diff)
downloadforums-33a0859f4ac3454c12dda651f708e16fc6c45adb.tar
forums-33a0859f4ac3454c12dda651f708e16fc6c45adb.tar.gz
forums-33a0859f4ac3454c12dda651f708e16fc6c45adb.tar.bz2
forums-33a0859f4ac3454c12dda651f708e16fc6c45adb.tar.xz
forums-33a0859f4ac3454c12dda651f708e16fc6c45adb.zip
[ticket/11579] Move tests into seperate files depending on needed fixture
PHPBB3-11579
Diffstat (limited to 'tests/functions/fixtures')
-rw-r--r--tests/functions/fixtures/validate_email.xml23
-rw-r--r--tests/functions/fixtures/validate_username.xml (renamed from tests/functions/fixtures/validate_data.xml)21
2 files changed, 23 insertions, 21 deletions
diff --git a/tests/functions/fixtures/validate_email.xml b/tests/functions/fixtures/validate_email.xml
new file mode 100644
index 0000000000..de7fce8a08
--- /dev/null
+++ b/tests/functions/fixtures/validate_email.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_users">
+ <column>user_id</column>
+ <column>username</column>
+ <column>username_clean</column>
+ <column>user_permissions</column>
+ <column>user_sig</column>
+ <column>user_occ</column>
+ <column>user_interests</column>
+ <column>user_email_hash</column>
+ <row>
+ <value>1</value>
+ <value>admin</value>
+ <value>admin</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value>143317126117</value>
+ </row>
+ </table>
+</dataset>
diff --git a/tests/functions/fixtures/validate_data.xml b/tests/functions/fixtures/validate_username.xml
index 38ecae6ad2..fbe398469c 100644
--- a/tests/functions/fixtures/validate_data.xml
+++ b/tests/functions/fixtures/validate_username.xml
@@ -8,24 +8,6 @@
<value>test123</value>
</row>
</table>
- <table name="phpbb_lang">
- <column>lang_id</column>
- <column>lang_iso</column>
- <column>lang_local_name</column>
- <column>lang_english_name</column>
- <row>
- <value>1</value>
- <value>en</value>
- <value>English</value>
- <value>English</value>
- </row>
- <row>
- <value>2</value>
- <value>cs</value>
- <value>Čeština</value>
- <value>Czech</value>
- </row>
- </table>
<table name="phpbb_users">
<column>user_id</column>
<column>username</column>
@@ -34,7 +16,6 @@
<column>user_sig</column>
<column>user_occ</column>
<column>user_interests</column>
- <column>user_email_hash</column>
<row>
<value>1</value>
<value>admin</value>
@@ -43,7 +24,6 @@
<value></value>
<value></value>
<value></value>
- <value>143317126117</value>
</row>
<row>
<value>2</value>
@@ -53,7 +33,6 @@
<value></value>
<value></value>
<value></value>
- <value>0</value>
</row>
</table>
</dataset>