Files
FOSSBilling/tests/includes/DummyBean.php
T
Adam 11a1906ee7 Fix broken module tests (#867)
* 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.
2023-02-27 10:38:20 -08:00

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;
}
}