-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dummy tests for legacy_browser plugin
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
class Legacy_Browser_Plugin extends PHPUnit_Framework_TestCase | ||
{ | ||
|
||
function setUp() | ||
{ | ||
include_once dirname(__FILE__) . '/../legacy_browser.php'; | ||
} | ||
|
||
/** | ||
* Plugin object construction test | ||
*/ | ||
function test_constructor() | ||
{ | ||
$rcube = rcube::get_instance(); | ||
$plugin = new legacy_browser($rcube->api); | ||
|
||
$this->assertInstanceOf('legacy_browser', $plugin); | ||
$this->assertInstanceOf('rcube_plugin', $plugin); | ||
} | ||
} | ||
|
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