aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/notification_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-12-25 18:49:31 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-01 18:55:12 +0100
commit400fc0f73d03010d3bf28d2b1db5d789dc085334 (patch)
treebb12ab982bbcbb232f62023592f892047c5886a7 /tests/notification/notification_test.php
parentf4381a20d4ec6201a00cd618c24fd29b67f77965 (diff)
downloadforums-400fc0f73d03010d3bf28d2b1db5d789dc085334.tar
forums-400fc0f73d03010d3bf28d2b1db5d789dc085334.tar.gz
forums-400fc0f73d03010d3bf28d2b1db5d789dc085334.tar.bz2
forums-400fc0f73d03010d3bf28d2b1db5d789dc085334.tar.xz
forums-400fc0f73d03010d3bf28d2b1db5d789dc085334.zip
[ticket/15055] Only drop dependent PK indexes and fix more tests for mssql
PHPBB3-15055
Diffstat (limited to 'tests/notification/notification_test.php')
-rw-r--r--tests/notification/notification_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notification/notification_test.php b/tests/notification/notification_test.php
index ec42aa193c..6bbabfc602 100644
--- a/tests/notification/notification_test.php
+++ b/tests/notification/notification_test.php
@@ -108,7 +108,7 @@ class phpbb_notification_test extends phpbb_tests_notification_base
$types = array('notification.type.quote', 'notification.type.bookmark', 'notification.type.post', 'test');
foreach ($types as $id => $type)
{
- $this->db->sql_query('INSERT INTO phpbb_notification_types ' .
+ $this->getConnection()->createQueryTable('insertNotification', 'INSERT INTO phpbb_notification_types ' .
$this->db->sql_build_array('INSERT', array(
'notification_type_id' => ($id + 1),
'notification_type_name' => $type,