Skip to content

Commit

Permalink
tests(unit) update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Mar 27, 2024
1 parent c63a918 commit 7c2a3ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function should_provide_information_about_the_failure_to_activate_due_to_
$expected = "Could not activate plugin: Something went wrong. \n" .
"{{wp_root_dir}}/wp-content/plugins/acme-plugin/plugin.php:3\n" .
"This might happen because the plugin has unmet dependencies; wp-browser configuration will continue, " .
"but you will need to manually activate the plugin and update the dump in tests/Support/Data/dump.sql.";
"but you will need to manually activate the plugin and update the dump in tests/_data/dump.sql";
$this->assertEquals(
$expected,
trim(str_replace($wpRootDir, '{{wp_root_dir}}', $output->fetch()))
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lucatume/WPBrowser/Project/ThemeProjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function should_provide_information_about_the_failure_to_activate_due_to_
$this->assertFalse($themeProject->activate($wpRootDir, 1234));
$expected = "Could not activate theme: Error: Current PHP version does not meet minimum requirements for Acme Theme. \n" .
"This might happen because the theme has unmet dependencies; wp-browser configuration will continue, " .
"but you will need to manually activate the theme and update the dump in tests/Support/Data/dump.sql.";
"but you will need to manually activate the theme and update the dump in tests/_data/dump.sql";
$this->assertEquals(
$expected,
trim(str_replace($wpRootDir, '{{wp_root_dir}}', $output->fetch()))
Expand Down

0 comments on commit 7c2a3ce

Please sign in to comment.