diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-08-04 10:41:02 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-08-04 10:41:02 +0200 |
commit | b825f86108a91957f6467176e418cfc257874658 (patch) | |
tree | b46041bd2f06919b9702aa90cfaa20508c0c17e1 /plugins/identity_select/tests | |
parent | 7015dd99f90fb10f899d698f9601708f9a5f728b (diff) |
Move identity selection based on non-standard headers into (new) identity_select plugin (#1488553)
Diffstat (limited to 'plugins/identity_select/tests')
-rw-r--r-- | plugins/identity_select/tests/IdentitySelect.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/identity_select/tests/IdentitySelect.php b/plugins/identity_select/tests/IdentitySelect.php new file mode 100644 index 000000000..3d7269711 --- /dev/null +++ b/plugins/identity_select/tests/IdentitySelect.php @@ -0,0 +1,22 @@ +<?php + +class IdentitySelect_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once dirname(__FILE__) . '/../identity_select.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new identity_select($rcube->api); + + $this->assertInstanceOf('identity_select', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} |