-
-
Save tarecord/a143910c95ea4fb0b31858b3dcd5460d to your computer and use it in GitHub Desktop.
Test plugin activates successfully
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
public function tryActivatingPlugin(AcceptanceTester $I) | |
{ | |
// Log in as an administrator. | |
$I->loginAsAdmin(); | |
// Navigate to the plugins page. | |
$I->amOnPluginsPage(); | |
// Attempt to activate the plugin. | |
$I->activatePlugin('my-plugin'); | |
// Verify that the plugin actually activated successfully. | |
$I->seePluginActivated('my-plugin'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment