소스 검색

fix unit tests

Olivier Massot 1 년 전
부모
커밋
87021a206a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Unit/Service/Dolibarr/DolibarrSyncServiceTest.php

+ 2 - 2
tests/Unit/Service/Dolibarr/DolibarrSyncServiceTest.php

@@ -752,8 +752,8 @@ class DolibarrSyncServiceTest extends TestCase
         $index = $dolibarrSyncService->getActiveMembersIndex();
 
         $this->assertEqualsCanonicalizing([
-            1 => [1 => [FunctionEnum::PRESIDENT], 2 => [FunctionEnum::STUDENT]],
-            2 => [3 => [FunctionEnum::PRESIDENT, FunctionEnum::TEACHER]]
+            1 => [1 => [FunctionEnum::PRESIDENT->value], 2 => [FunctionEnum::STUDENT->value]],
+            2 => [3 => [FunctionEnum::PRESIDENT->value, FunctionEnum::TEACHER->value]]
         ], $index);
     }