Skip to content

Commit e7eb835

Browse files
author
bnu
committed
Merge branch 'release/1.8.22'
2 parents a92a641 + 4803ccf commit e7eb835

9 files changed

+251
-224
lines changed

.htaccess

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
RewriteEngine On
22

33
# reserve XE Layout Template Source File (*.html)
4-
RewriteRule ^(common|layouts|m.layouts)/(.+)\.html$ - [L,F]
4+
RewriteRule ^(layouts|m.layouts)/(.+)\.html$ - [L,F]
55
# reserve XE Template Source Files (*.html)
66
RewriteCond %{REQUEST_URI} !/modules/editor/
77
RewriteRule /(skins|m.skins)/(.+)\.html$ - [L,F]

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ before_script:
1818
- phpenv config-rm xdebug.ini
1919
- if [ $(phpenv version-name) != "5.3" ]; then composer install; fi
2020
- if [ $(phpenv version-name) != "5.3" ]; then mysql -e 'create database xe_test;'; fi
21-
- if [ $(phpenv version-name) != "5.3" ]; then echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis')
22-
WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
21+
- if [ $(phpenv version-name) != "5.3" ]; then echo "USE mysql;\nUPDATE user SET password=PASSWORD('root')
22+
WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
2323
- if [ $(phpenv version-name) != "5.3" ]; then php -S localhost:8000 & fi
2424
script:
2525
- grunt lint

codeception.dist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ paths:
77
settings:
88
bootstrap: _bootstrap.php
99
colors: true
10-
memory_limit: 1024M
10+
memory_limit: 2048M
1111
error_level: "E_ALL & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED & ~E_NOTICE"

composer.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"php": ">=5.4.0"
1212
},
1313
"require-dev": {
14-
"codeception/codeception": "~2.0",
15-
"codeception/verify": "0.2.*",
16-
"codeception/specify": "0.4.*"
14+
"codeception/codeception": "~2.0"
1715
}
1816
}

config/config.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Display XE's full version.
3131
*/
32-
define('__XE_VERSION__', '1.8.21');
32+
define('__XE_VERSION__', '1.8.22');
3333
define('__XE_VERSION_ALPHA__', (stripos(__XE_VERSION__, 'alpha') !== false));
3434
define('__XE_VERSION_BETA__', (stripos(__XE_VERSION__, 'beta') !== false));
3535
define('__XE_VERSION_RC__', (stripos(__XE_VERSION__, 'rc') !== false));

tests/Install.suite.dist.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ env:
1919
config:
2020
Db:
2121
dsn: 'mysql:host=127.0.0.1;dbname=xe_test'
22-
user: 'travis'
23-
password: 'travis'
22+
user: 'root'
23+
password: 'root'
2424
cleanup: true
2525
DbDropTablesHelper:
2626
dsn: 'mysql:host=127.0.0.1;dbname=xe_test'
27-
user: 'travis'
28-
password: 'travis'
27+
user: 'root'
28+
password: 'root'

tests/unit/_bootstrap.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
<?php
22
$_SERVER['SCRIPT_NAME'] = '/xe/index.php';
3-
\Codeception\Specify\Config::setDeepClone(false);

tests/unit/classes/frontendfile/FrontEndFileHandlerTest.php

+241-210
Large diffs are not rendered by default.

tests/unit/classes/template/TemplateHandlerTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
require_once _XE_PATH_.'classes/file/FileHandler.class.php';
33
require_once _XE_PATH_.'classes/template/TemplateHandler.class.php';
4-
$_SERVER['SCRIPT_NAME'] = '/xe/tests/unit/classes/template/index.php';
54

65
class TemplateHandlerTest extends \Codeception\TestCase\Test
76
{

0 commit comments

Comments
 (0)