Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Dec 20, 2024
1 parent 737623f commit c631dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/mongo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func testTypes(ctx context.Context, db *mongo.Database, mongoCfg config.MongoDB)
}

row := rows[0]
expectedPartitionKey := map[string]any{"payload": map[string]any{"id": `{"$oid":"66a95fae3776c2f21f0ff568"}`}}
expectedPartitionKey := map[string]any{"id": `{"$oid":"66a95fae3776c2f21f0ff568"}`}
expectedPkBytes, err := json.Marshal(expectedPartitionKey)
if err != nil {
return fmt.Errorf("failed to marshal expected partition key: %w", err)
Expand Down

0 comments on commit c631dff

Please sign in to comment.