aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/fixtures
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2011-12-15 16:18:52 +0200
committerVjacheslav Trushkin <arty@phpbb.com>2011-12-15 16:18:52 +0200
commit80149d0c872292cf7cf7be8aa1eca5641f7cd708 (patch)
treec46a29d9c48099c4ac349d38b535acd41f3e8ac3 /tests/dbal/fixtures
parentcd4958f72c249b9254f7038432cbe7a390dd93bf (diff)
downloadforums-80149d0c872292cf7cf7be8aa1eca5641f7cd708.tar
forums-80149d0c872292cf7cf7be8aa1eca5641f7cd708.tar.gz
forums-80149d0c872292cf7cf7be8aa1eca5641f7cd708.tar.bz2
forums-80149d0c872292cf7cf7be8aa1eca5641f7cd708.tar.xz
forums-80149d0c872292cf7cf7be8aa1eca5641f7cd708.zip
[ticket/10507] DBAL unit test
Unit test for ORDER BY LOWER(style_name) PHPBB3-10507
Diffstat (limited to 'tests/dbal/fixtures')
-rw-r--r--tests/dbal/fixtures/styles.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/dbal/fixtures/styles.xml b/tests/dbal/fixtures/styles.xml
new file mode 100644
index 0000000000..47b384c47f
--- /dev/null
+++ b/tests/dbal/fixtures/styles.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_styles">
+ <column>style_id</column>
+ <column>style_name</column>
+ <column>style_copyright</column>
+ <column>style_active</column>
+ <column>template_id</column>
+ <column>theme_id</column>
+ <column>imageset_id</column>
+ <row>
+ <value>1</value>
+ <value>prosilver</value>
+ <value>&amp;copy; phpBB Group</value>
+ <value>1</value>
+ <value>1</value>
+ <value>1</value>
+ <value>1</value>
+ </row>
+ <row>
+ <value>2</value>
+ <value>prosilver2</value>
+ <value>&amp;copy; phpBB Group</value>
+ <value>0</value>
+ <value>2</value>
+ <value>2</value>
+ <value>2</value>
+ </row>
+ <row>
+ <value>3</value>
+ <value>Prosilver1</value>
+ <value>&amp;copy; phpBB Group</value>
+ <value>0</value>
+ <value>3</value>
+ <value>3</value>
+ <value>3</value>
+ </row>
+ </table>
+</dataset>