PHP7: Fixed some E_WARNING errors that previously were E_STRICT
parent
b3e9764c31
commit
36bd93f138
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Test class to test rcube_db_oracle class
|
||||
*
|
||||
* @package Tests
|
||||
* @group database
|
||||
* @group oracle
|
||||
*/
|
||||
class Framework_DBOracle extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Class constructor
|
||||
*/
|
||||
function test_class()
|
||||
{
|
||||
$object = new rcube_db_oracle('test');
|
||||
|
||||
$this->assertInstanceOf('rcube_db_oracle', $object, "Class constructor");
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Test class to test rcube_imap_search class
|
||||
*
|
||||
* @package Tests
|
||||
*/
|
||||
class Framework_ImapSearch extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Class constructor
|
||||
*/
|
||||
function test_class()
|
||||
{
|
||||
$object = new rcube_imap_search(array(), true);
|
||||
|
||||
$this->assertInstanceOf('rcube_imap_search', $object, "Class constructor");
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Test class to test rcube_ldap class
|
||||
*
|
||||
* @package Tests
|
||||
*/
|
||||
class Framework_Ldap extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Class constructor
|
||||
*/
|
||||
function test_class()
|
||||
{
|
||||
// skip this test as we don't want to connect to ldap here
|
||||
$this->markTestSkipped('We do not connect to LDAP');
|
||||
|
||||
$object = new rcube_ldap(array());
|
||||
|
||||
$this->assertInstanceOf('rcube_ldap', $object, "Class constructor");
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Test class to test rcube_result_multifolder class
|
||||
*
|
||||
* @package Tests
|
||||
*/
|
||||
class Framework_ResultMultifolder extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Class constructor
|
||||
*/
|
||||
function test_class()
|
||||
{
|
||||
$object = new rcube_result_multifolder;
|
||||
|
||||
$this->assertInstanceOf('rcube_result_multifolder', $object, "Class constructor");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue