Files
FOSSBilling/tests/includes/DummyBean.php
T
Belle Aerni 7ecaf786d5 Move RedBeanPHP to composer (#767)
* Move RedBeanPHP to composer

* Remove missed references to rb.php

* This *should* fix the tests

* Update DummyBean.php

* Remove payment adapter tests

They.. honestly didn't test much and are proving to cause issues when moving rb.php to composer
2023-02-05 08:43:37 -08:00

12 lines
317 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();
$bean->initializeForDispense('dummybean');
return $bean;
}
}