瀏覽代碼

🐛 fix(test): correct error message assertion case

- change expected error message from 'Not found' to 'not found' to match actual response case
yourname 4 周之前
父節點
當前提交
a28af3d122
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/shared-test-util/src/integration-test-utils.ts

+ 1 - 1
packages/shared-test-util/src/integration-test-utils.ts

@@ -170,7 +170,7 @@ export class ApiResponseAssertions {
    */
   static expectNotFound(response: { status: number; data: any }): void {
     IntegrationTestAssertions.expectStatus(response, 404);
-    IntegrationTestAssertions.expectErrorResponse(response, 'Not found');
+    IntegrationTestAssertions.expectErrorResponse(response, 'not found');
   }
 
   /**