Skip to content

Commit accc7e0

Browse files
committed
Set encoding in bootstrap.php (accept-charset test for BootstrapFormHelper).
1 parent ced40b9 commit accc7e0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/bootstrap.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@
3838
date_default_timezone_set('UTC');
3939
mb_internal_encoding('UTF-8');
4040

41+
Configure::write('App', [
42+
'namespace' => 'App',
43+
'encoding' => 'UTF-8',
44+
'base' => false,
45+
'baseUrl' => false,
46+
'dir' => APP_DIR,
47+
'webroot' => 'webroot',
48+
'wwwRoot' => WWW_ROOT
49+
]);
50+
4151
Cache::config([
4252
'_cake_core_' => [
4353
'engine' => 'File',
@@ -51,5 +61,6 @@
5161
]
5262
]);
5363

64+
ini_set('intl.default_locale', 'en_US');
5465

5566
Plugin::load('Search', ['path' => ROOT]);

0 commit comments

Comments
 (0)