Skip to content

Commit

Permalink
fix: mock PosgreSQL function in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leosuncin authored and kodiakhq[bot] committed Oct 7, 2022
1 parent d8a517b commit 6cb7fd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/common/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ database.public.registerFunction({
implementation: () => 'test',
});

database.public.registerFunction({
name: 'version',
implementation: () => 'PostgreSQL 14.0',
});

database.public.registerFunction({
name: 'uuid_generate_v4',
returns: DataType.uuid,
Expand Down

0 comments on commit 6cb7fd0

Please sign in to comment.