1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/15055] Run phantomjs for UI tests

PHPBB3-15055
This commit is contained in:
Marc Alexander 2017-12-31 11:57:02 +01:00
parent a999718b42
commit d99ef03446

View File

@ -110,6 +110,10 @@ before_test:
sqlite3 c:\projects\test.db "create table aTable(field1 int); drop table aTable;"
$data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\sqlite3';`n`$dbhost = 'c:\\projects\\test.db';`n`$dbport = '';`n`$dbname = '';`n`$dbuser = '';`n`$dbpasswd = '';`n`$phpbb_functional_url = 'http://phpbb.test/';"; $data | Out-File -Encoding "Default" "c:\\projects\\phpbb\\tests\\test_config.php"
}
# Install PhantomJS
cinst -y phantomjs
Start-Process "phantomjs" "--webdriver=8910" | Out-Null
- cd c:\projects\phpbb\phpBB
- php ..\composer.phar install
- choco install -y urlrewrite