fix(server): disable classification by default (#5708)

* disable classification by default

* fixed tests
This commit is contained in:
Mert
2023-12-15 00:34:18 -05:00
committed by GitHub
parent 16f385626e
commit 458257847e
5 changed files with 24 additions and 3 deletions
@@ -159,6 +159,9 @@ describe(JobService.name, () => {
it('should handle a start object tagging command', async () => {
jobMock.getQueueStatus.mockResolvedValue({ isActive: false, isPaused: false });
configMock.load.mockResolvedValue([
{ key: SystemConfigKey.MACHINE_LEARNING_CLASSIFICATION_ENABLED, value: true },
]);
await sut.handleCommand(QueueName.OBJECT_TAGGING, { command: JobCommand.START, force: false });