diff --git a/test/lib/views.ts b/test/lib/views.ts index 8c437bf4..ec1c2d1e 100644 --- a/test/lib/views.ts +++ b/test/lib/views.ts @@ -14,7 +14,7 @@ test('list', async () => { "default_value": null, "enums": [], "format": "int8", - "id": "16420.1", + "id": "16423.1", "identity_generation": null, "is_generated": false, "is_identity": false, @@ -25,7 +25,7 @@ test('list', async () => { "ordinal_position": 1, "schema": "public", "table": "todos_view", - "table_id": 16420, + "table_id": 16423, }, { "check": null, @@ -34,7 +34,7 @@ test('list', async () => { "default_value": null, "enums": [], "format": "text", - "id": "16420.2", + "id": "16423.2", "identity_generation": null, "is_generated": false, "is_identity": false, @@ -45,7 +45,7 @@ test('list', async () => { "ordinal_position": 2, "schema": "public", "table": "todos_view", - "table_id": 16420, + "table_id": 16423, }, { "check": null, @@ -54,7 +54,7 @@ test('list', async () => { "default_value": null, "enums": [], "format": "int8", - "id": "16420.3", + "id": "16423.3", "identity_generation": null, "is_generated": false, "is_identity": false, @@ -65,7 +65,7 @@ test('list', async () => { "ordinal_position": 3, "schema": "public", "table": "todos_view", - "table_id": 16420, + "table_id": 16423, }, ], "comment": null, @@ -111,7 +111,7 @@ test('retrieve', async () => { "default_value": null, "enums": [], "format": "int8", - "id": "16420.1", + "id": "16423.1", "identity_generation": null, "is_generated": false, "is_identity": false, @@ -122,7 +122,7 @@ test('retrieve', async () => { "ordinal_position": 1, "schema": "public", "table": "todos_view", - "table_id": 16420, + "table_id": 16423, }, { "check": null, @@ -131,7 +131,7 @@ test('retrieve', async () => { "default_value": null, "enums": [], "format": "text", - "id": "16420.2", + "id": "16423.2", "identity_generation": null, "is_generated": false, "is_identity": false, @@ -142,7 +142,7 @@ test('retrieve', async () => { "ordinal_position": 2, "schema": "public", "table": "todos_view", - "table_id": 16420, + "table_id": 16423, }, { "check": null, @@ -151,7 +151,7 @@ test('retrieve', async () => { "default_value": null, "enums": [], "format": "int8", - "id": "16420.3", + "id": "16423.3", "identity_generation": null, "is_generated": false, "is_identity": false, @@ -162,7 +162,7 @@ test('retrieve', async () => { "ordinal_position": 3, "schema": "public", "table": "todos_view", - "table_id": 16420, + "table_id": 16423, }, ], "comment": null, diff --git a/test/server/indexes.ts b/test/server/indexes.ts index 01d1a5f8..76736065 100644 --- a/test/server/indexes.ts +++ b/test/server/indexes.ts @@ -17,7 +17,7 @@ test('list indexes', async () => { "class": "3124", "collation": "0", "comment": null, - "id": 16396, + "id": 16399, "index_attributes": [ { "attribute_name": "id", @@ -41,14 +41,14 @@ test('list indexes', async () => { "number_of_key_attributes": 1, "options": "0", "schema": "public", - "table_id": 16390, + "table_id": 16393, } ` ) }) test('retrieve index', async () => { - const res = await app.inject({ method: 'GET', path: '/indexes/16396' }) + const res = await app.inject({ method: 'GET', path: '/indexes/16399' }) const index = res.json() expect(index).toMatchInlineSnapshot( ` @@ -58,7 +58,7 @@ test('retrieve index', async () => { "class": "3124", "collation": "0", "comment": null, - "id": 16396, + "id": 16399, "index_attributes": [ { "attribute_name": "id", @@ -82,7 +82,7 @@ test('retrieve index', async () => { "number_of_key_attributes": 1, "options": "0", "schema": "public", - "table_id": 16390, + "table_id": 16393, } ` )