Use twentynineteen theme

This commit is contained in:
Amine Ben hammou
2020-06-23 15:12:34 +02:00
committed by Rostislav Wolný
parent ee70c2d5c5
commit 79ea00b0ed
2 changed files with 3 additions and 3 deletions

View File

@@ -267,7 +267,7 @@ class RoboFile extends \Robo\Tasks {
($opts['skip-deps'] ? '-e SKIP_DEPS=1 ' : '') . ($opts['skip-deps'] ? '-e SKIP_DEPS=1 ' : '') .
($opts['timeout'] ? '-e WAIT_TIMEOUT=' . (int)$opts['timeout'] . ' ' : '') . ($opts['timeout'] ? '-e WAIT_TIMEOUT=' . (int)$opts['timeout'] . ' ' : '') .
'-e MULTISITE=1 ' . '-e MULTISITE=1 ' .
'codeception --steps --debug -vvv' . 'codeception --steps --debug -vvv ' .
'-f ' . ($opts['file'] ? $opts['file'] : '') '-f ' . ($opts['file'] ? $opts['file'] : '')
)->dir(__DIR__ . '/tests/docker')->run(); )->dir(__DIR__ . '/tests/docker')->run();
} }

View File

@@ -33,8 +33,8 @@ class DefaultsExtension extends Extension {
update_option('users_can_register', '1', 'yes'); update_option('users_can_register', '1', 'yes');
update_site_option('registration', 'user'); update_site_option('registration', 'user');
update_option('permalink_structure', '/%year%/%monthnum%/%day%/%postname%/', 'yes'); update_option('permalink_structure', '/%year%/%monthnum%/%day%/%postname%/', 'yes');
update_option('template', 'twentyseventeen', 'yes'); update_option('template', 'twentynineteen', 'yes');
update_option('stylesheet', 'twentyseventeen', 'yes'); update_option('stylesheet', 'twentynineteen', 'yes');
// posts & pages // posts & pages
$this->createPost('post', 'hello-world', 'Hello world!', 'Hello from WordPress.'); $this->createPost('post', 'hello-world', 'Hello world!', 'Hello from WordPress.');