Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:crealoz/easy-audit-free into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopheFerreboeuf committed Jan 13, 2025
2 parents b11e18b + 000689b commit 9a59b94
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Test/Integration/Service/AuditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,28 @@ protected function setUp(): void
['xml', $this->xmlMock]
]);

/** @codingStandardsIgnoreStart */
eval('
namespace Crealoz\EasyAudit\Model;
class AuditRequestFactory {
public function create(array $data = []) {
return new AuditRequest($data);
}
}
');

eval('
namespace Crealoz\EasyAudit\Model\Request;
class FileFactory {
public function create(array $data = []) {
return new \File($data);
}
}
');
/** @codingStandardsIgnoreEnd */

$this->arrayTools = $this->createMock(ArrayTools::class);
$this->logger = $this->createMock(LoggerInterface::class);
$this->auditRequestFactory = $this->createPartialMock(\Crealoz\EasyAudit\Model\AuditRequestFactory::class, ['create']);
Expand Down

0 comments on commit 9a59b94

Please sign in to comment.