Skip to content

Commit

Permalink
[#565] Fixed WpConfigSplitterTest to reflect actual behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanVoracek committed Feb 26, 2016
1 parent a877e24 commit 5104062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/versionpress/tests/Unit/WpConfigSplitterTest.php
Expand Up @@ -81,7 +81,9 @@ class WpConfigSplitterTest extends \PHPUnit_Framework_TestCase {
$table_prefix = 'wp_';
define( 'WP_CONTENT_URL', 'http://localhost/wp/app' ); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
define('WP_PLUGIN_URL', 'http://localhost/wp/app/addons');
/* That's all, stop editing! Happy blogging. */
Expand All @@ -100,9 +102,7 @@ class WpConfigSplitterTest extends \PHPUnit_Framework_TestCase {
private $commonConfig = <<<'DOC'
<?php
define( 'WP_CONTENT_DIR', '/Users/johndoe/Sites/wp/app' ); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
define( 'WP_CONTENT_URL', 'http://localhost/wp/app' ); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
define('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/addons');
define('WP_PLUGIN_URL', 'http://localhost/wp/app/addons');
define('UPLOADS', 'uploads');
DOC;
Expand Down

0 comments on commit 5104062

Please sign in to comment.