- Added tests to ensure Redis namespace safety for `db_object_t` and `users_o`. - Implemented `MotorApiCachedResultTest` to validate metadata caching behavior. - Introduced configuration classes for `xlvask_automatic_order_attachment_enabled` and `xlvask_automatic_order_creation_enabled`. - Developed `xlvask_automation_service` with supporting features for usage log evaluation, suggestion building, and order automation.
10 lines
262 B
PHP
10 lines
262 B
PHP
<?php
|
|
|
|
it('keeps db object Redis access namespace safe', function (): void {
|
|
$content = file_get_contents(WD . '/traits/db_object_t.php');
|
|
|
|
expect($content)
|
|
->not->toContain('redis->')
|
|
->and($content)->toContain("constant('redis')");
|
|
});
|