Correct property name

pull/6977/head
Aleksander Machniak 5 years ago
parent 1b8e01e324
commit cc1a1d95fe

@ -14,7 +14,7 @@ class Acl_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new acl($rcube->api); $plugin = new acl($rcube->plugins);
$this->assertInstanceOf('acl', $plugin); $this->assertInstanceOf('acl', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class AdditionalMessageHeaders_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new additional_message_headers($rcube->api); $plugin = new additional_message_headers($rcube->plugins);
$this->assertInstanceOf('additional_message_headers', $plugin); $this->assertInstanceOf('additional_message_headers', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Archive_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new archive($rcube->api); $plugin = new archive($rcube->plugins);
$this->assertInstanceOf('archive', $plugin); $this->assertInstanceOf('archive', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Autologon_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new autologon($rcube->api); $plugin = new autologon($rcube->plugins);
$this->assertInstanceOf('autologon', $plugin); $this->assertInstanceOf('autologon', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class DatabaseAttachments_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new database_attachments($rcube->api); $plugin = new database_attachments($rcube->plugins);
$this->assertInstanceOf('database_attachments', $plugin); $this->assertInstanceOf('database_attachments', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class DebugLogger_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new debug_logger($rcube->api); $plugin = new debug_logger($rcube->plugins);
$this->assertInstanceOf('debug_logger', $plugin); $this->assertInstanceOf('debug_logger', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Emoticons_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new emoticons($rcube->api); $plugin = new emoticons($rcube->plugins);
$this->assertInstanceOf('emoticons', $plugin); $this->assertInstanceOf('emoticons', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Enigma_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new enigma($rcube->api); $plugin = new enigma($rcube->plugins);
$this->assertInstanceOf('enigma', $plugin); $this->assertInstanceOf('enigma', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class ExampleAddressbook_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new example_addressbook($rcube->api); $plugin = new example_addressbook($rcube->plugins);
$this->assertInstanceOf('example_addressbook', $plugin); $this->assertInstanceOf('example_addressbook', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class FilesystemAttachments_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new filesystem_attachments($rcube->api); $plugin = new filesystem_attachments($rcube->plugins);
$this->assertInstanceOf('filesystem_attachments', $plugin); $this->assertInstanceOf('filesystem_attachments', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Help_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new help($rcube->api); $plugin = new help($rcube->plugins);
$this->assertInstanceOf('help', $plugin); $this->assertInstanceOf('help', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class HideBlockquote_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new hide_blockquote($rcube->api); $plugin = new hide_blockquote($rcube->plugins);
$this->assertInstanceOf('hide_blockquote', $plugin); $this->assertInstanceOf('hide_blockquote', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class HttpAuthentication_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new http_authentication($rcube->api); $plugin = new http_authentication($rcube->plugins);
$this->assertInstanceOf('http_authentication', $plugin); $this->assertInstanceOf('http_authentication', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Identicon_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new identicon($rcube->api); $plugin = new identicon($rcube->plugins);
$this->assertInstanceOf('identicon', $plugin); $this->assertInstanceOf('identicon', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class IdentitySelect_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new identity_select($rcube->api); $plugin = new identity_select($rcube->plugins);
$this->assertInstanceOf('identity_select', $plugin); $this->assertInstanceOf('identity_select', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Jqueryui_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new jqueryui($rcube->api); $plugin = new jqueryui($rcube->plugins);
$this->assertInstanceOf('jqueryui', $plugin); $this->assertInstanceOf('jqueryui', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class KrbAuthentication_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new krb_authentication($rcube->api); $plugin = new krb_authentication($rcube->plugins);
$this->assertInstanceOf('krb_authentication', $plugin); $this->assertInstanceOf('krb_authentication', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Managesieve_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new managesieve($rcube->api); $plugin = new managesieve($rcube->plugins);
$this->assertInstanceOf('managesieve', $plugin); $this->assertInstanceOf('managesieve', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Markasjunk_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new markasjunk($rcube->api); $plugin = new markasjunk($rcube->plugins);
$this->assertInstanceOf('markasjunk', $plugin); $this->assertInstanceOf('markasjunk', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class NewUserDialog_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new new_user_dialog($rcube->api); $plugin = new new_user_dialog($rcube->plugins);
$this->assertInstanceOf('new_user_dialog', $plugin); $this->assertInstanceOf('new_user_dialog', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class NewUserIdentity_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new new_user_identity($rcube->api); $plugin = new new_user_identity($rcube->plugins);
$this->assertInstanceOf('new_user_identity', $plugin); $this->assertInstanceOf('new_user_identity', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class NewmailNotifier_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new newmail_notifier($rcube->api); $plugin = new newmail_notifier($rcube->plugins);
$this->assertInstanceOf('newmail_notifier', $plugin); $this->assertInstanceOf('newmail_notifier', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Password_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new password($rcube->api); $plugin = new password($rcube->plugins);
$this->assertInstanceOf('password', $plugin); $this->assertInstanceOf('password', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class RedundantAttachments_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new redundant_attachments($rcube->api); $plugin = new redundant_attachments($rcube->plugins);
$this->assertInstanceOf('redundant_attachments', $plugin); $this->assertInstanceOf('redundant_attachments', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class ShowAdditionalHeaders_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new show_additional_headers($rcube->api); $plugin = new show_additional_headers($rcube->plugins);
$this->assertInstanceOf('show_additional_headers', $plugin); $this->assertInstanceOf('show_additional_headers', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class SquirrelmailUsercopy_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new squirrelmail_usercopy($rcube->api); $plugin = new squirrelmail_usercopy($rcube->plugins);
$this->assertInstanceOf('squirrelmail_usercopy', $plugin); $this->assertInstanceOf('squirrelmail_usercopy', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class SubscriptionsOption_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new subscriptions_option($rcube->api); $plugin = new subscriptions_option($rcube->plugins);
$this->assertInstanceOf('subscriptions_option', $plugin); $this->assertInstanceOf('subscriptions_option', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Userinfo_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new userinfo($rcube->api); $plugin = new userinfo($rcube->plugins);
$this->assertInstanceOf('userinfo', $plugin); $this->assertInstanceOf('userinfo', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class VcardAttachments_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new vcard_attachments($rcube->api); $plugin = new vcard_attachments($rcube->plugins);
$this->assertInstanceOf('vcard_attachments', $plugin); $this->assertInstanceOf('vcard_attachments', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class VirtuserFile_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new virtuser_file($rcube->api); $plugin = new virtuser_file($rcube->plugins);
$this->assertInstanceOf('virtuser_file', $plugin); $this->assertInstanceOf('virtuser_file', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class VirtuserQuery_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new virtuser_query($rcube->api); $plugin = new virtuser_query($rcube->plugins);
$this->assertInstanceOf('virtuser_query', $plugin); $this->assertInstanceOf('virtuser_query', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

@ -14,7 +14,7 @@ class Zipdownload_Plugin extends PHPUnit_Framework_TestCase
function test_constructor() function test_constructor()
{ {
$rcube = rcube::get_instance(); $rcube = rcube::get_instance();
$plugin = new zipdownload($rcube->api); $plugin = new zipdownload($rcube->plugins);
$this->assertInstanceOf('zipdownload', $plugin); $this->assertInstanceOf('zipdownload', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin); $this->assertInstanceOf('rcube_plugin', $plugin);

Loading…
Cancel
Save