protected function setUp(): void {
parent::setUp();
- \CRM_Core_DAO_AllCoreTables::flush();
\CRM_Core_DAO_AllCoreTables::registerEntityType('FakeFile', 'CRM_Fake_DAO_FakeFile', 'fake_file');
$fileProvider = new StaticProvider(
));
}
- protected function tearDown(): void {
- parent::tearDown();
- \CRM_Core_DAO_AllCoreTables::flush();
- }
-
/**
* @return array
*/
*
* @dataProvider okDataProvider
*/
- public function testOk(string $entity, string $action, array $params): array {
+ public function testOk(string $entity, string $action, array $params): void {
$params['version'] = 3;
$params['debug'] = 1;
$params['check_permissions'] = 1;