Browse Source

🐛 fix(test): correct error message assertion case

- change expected error message from 'Not found' to 'not found' to match actual response case
yourname 3 weeks ago
parent
commit
a28af3d122
1 changed files with 1 additions and 1 deletions
  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');
   }
 
   /**