mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 12:18:43 +09:00
* Fix typo in Email module tests Fix missing semicolon in tests for Email module causing PHPUnit to fail. * Fix module test errors due to RedBean Fix module tests causing error due to RedBean when being mocked in PHPUnit. * Fix module test failures Update module tests to fix failures, and remove obsoleted tests causing failure.
12 lines
313 B
PHP
12 lines
313 B
PHP
<?php
|
|
// Define a dummy class for RedBeanPHP, so test can easily be adjusted for future versions of RedBeanPHP.
|
|
class DummyBean extends \RedBeanPHP\OODBBean
|
|
{
|
|
function __construct()
|
|
{
|
|
$bean = new \RedBeanPHP\OODBBean();
|
|
$this->__info['changelist'] = array();
|
|
return $bean;
|
|
}
|
|
}
|