aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-01-08 22:19:58 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-09 21:22:58 +0100
commit3c7f45c1665d51b0aba1ab44d378f8a0ad861e09 (patch)
tree630f84e01f3c9539523da9549678212273a16e02
parentdaf668a9693a65d66d57ccbe1bb365b163610c40 (diff)
downloadforums-3c7f45c1665d51b0aba1ab44d378f8a0ad861e09.tar
forums-3c7f45c1665d51b0aba1ab44d378f8a0ad861e09.tar.gz
forums-3c7f45c1665d51b0aba1ab44d378f8a0ad861e09.tar.bz2
forums-3c7f45c1665d51b0aba1ab44d378f8a0ad861e09.tar.xz
forums-3c7f45c1665d51b0aba1ab44d378f8a0ad861e09.zip
[ticket/15055] Fix line break and disable sql server 2017 for now
SQL Server 2017 currently fails for unknown reasons and just results in an overall longer build time. Therefore disabling it for now. PHPBB3-15055
-rw-r--r--.appveyor.yml26
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php2
2 files changed, 16 insertions, 12 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index a729b034d9..1e2bc1c184 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -7,18 +7,18 @@ services:
environment:
matrix:
-# - db: mssql
-# db_version: sql2012sp1
-# php: 7.0
-# - db: mssql
-# db_version: sql2014
-# php: 7.0
-# - db: mssql
-# db_version: sql2016
-# php: 7.0
- db: mssql
- db_version: sql2017
- php: 7.1
+ db_version: sql2012sp1
+ php: 7.0
+ - db: mssql
+ db_version: sql2014
+ php: 7.0
+ - db: mssql
+ db_version: sql2016
+ php: 7.0
+# - db: mssql
+# db_version: sql2017
+# php: 7.1
# - db: mariadb
# php: 7.1
# - db: mysqli
@@ -114,6 +114,10 @@ before_test:
# Install PhantomJS
cinst -y phantomjs
Start-Process "phantomjs" "--webdriver=8910" | Out-Null
+ - ps: |
+ cd c:\projects\phpbb\phpBB
+ (Get-Content c:\projects\phpbb\phpBB\web.config).replace("<configuration>", "<configuration>`n`t<system.web>`n`t`t<customErrors mode=`"Off`"/>`n`t</system.web>") | Set-Content c:\projects\phpbb\phpBB\web.config
+ (Get-Content c:\projects\phpbb\phpBB\web.config).replace("`t</system.webServer>", "`t`t<httpErrors errorMode=`"Detailed`" />`n`t</system.webServer>") | Set-Content c:\projects\phpbb\phpBB\web.config
- cd c:\projects\phpbb\phpBB
- php ..\composer.phar install
- choco install -y urlrewrite
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index a63d5dc5ec..e1daa4558a 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -918,7 +918,7 @@ class phpbb_functional_test_case extends phpbb_test_case
if ($status_code != self::$client->getResponse()->getStatus() &&
preg_match('/^5[0-9]{2}/', self::$client->getResponse()->getStatus()))
{
- self::fail('Encountered unexpected server error:\n' . self::$client->getResponse()->getContent());
+ self::fail("Encountered unexpected server error:\n" . self::$client->getResponse()->getContent());
}
self::assertEquals($status_code, self::$client->getResponse()->getStatus(), 'HTTP status code does not match');
}