aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auth/fixtures
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-06-24 12:05:29 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-06-24 12:07:28 -0400
commit80e2d65399e7dcf9b53dada4929d7194275721ad (patch)
treee679d6a25638e74229f4dc45219d04451b9653ce /tests/auth/fixtures
parentb8610c4b989fd1e4e9e310de776de38dfe4a09a2 (diff)
downloadforums-80e2d65399e7dcf9b53dada4929d7194275721ad.tar
forums-80e2d65399e7dcf9b53dada4929d7194275721ad.tar.gz
forums-80e2d65399e7dcf9b53dada4929d7194275721ad.tar.bz2
forums-80e2d65399e7dcf9b53dada4929d7194275721ad.tar.xz
forums-80e2d65399e7dcf9b53dada4929d7194275721ad.zip
[feature/auth-refactor] Initial auth unit test provider_db
Initial work on a unit test for the provider_db login function. Does not work currently. PHPBB3-9734
Diffstat (limited to 'tests/auth/fixtures')
-rw-r--r--tests/auth/fixtures/user.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/auth/fixtures/user.xml b/tests/auth/fixtures/user.xml
new file mode 100644
index 0000000000..34584babbf
--- /dev/null
+++ b/tests/auth/fixtures/user.xml
@@ -0,0 +1,33 @@
+<?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_password</column>
+ <column>user_passchg</column>
+ <column>user_pass_convert</column>
+ <column>user_email</column>
+ <column>user_type</column>
+ <column>user_login_attempts</column>
+ <column>user_permissions</column>
+ <column>user_sig</column>
+ <column>user_occ</column>
+ <column>user_interests</column>
+ <row>
+ <value>1</value>
+ <value>foobar</value>
+ <value>foobar</value>
+ <value>$H$9E45lK6J8nLTSm9oJE5aNCSTFK9wqa/</value>
+ <value>0</value>
+ <value>0</value>
+ <value>example@example.com</value>
+ <value>0</value>
+ <value>0</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ </table>
+</dataset>