Skip to content

Commit 908f12e

Browse files
committed
fix(integration_tests): change event types to match SDK
1 parent 060195a commit 908f12e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

integration_test/tests/v1/firestore.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe("Cloud Firestore (v1)", () => {
7878

7979
it("should have the correct eventType", () => {
8080
expect(loggedContext?.eventType).toEqual(
81-
"google.firestore.document.create"
81+
"google.firestore.document.created"
8282
);
8383
});
8484

@@ -136,7 +136,7 @@ describe("Cloud Firestore (v1)", () => {
136136

137137
it("should have the correct eventType", () => {
138138
expect(loggedContext?.eventType).toEqual(
139-
"google.firestore.document.delete"
139+
"google.firestore.document.deleted"
140140
);
141141
});
142142

@@ -194,7 +194,7 @@ describe("Cloud Firestore (v1)", () => {
194194

195195
it("should have the correct eventType", () => {
196196
expect(loggedContext?.eventType).toEqual(
197-
"google.firestore.document.update"
197+
"google.firestore.document.updated"
198198
);
199199
});
200200

@@ -252,7 +252,7 @@ describe("Cloud Firestore (v1)", () => {
252252

253253
it("should have the correct eventType", () => {
254254
expect(loggedContext?.eventType).toEqual(
255-
"google.firestore.document.write"
255+
"google.firestore.document.written"
256256
);
257257
});
258258

0 commit comments

Comments
 (0)