Skip to content

Commit 53f209d

Browse files
gulfarazsoedirgo
authored andcommitted
chore: update test random ids
1 parent 5091fe8 commit 53f209d

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

test/lib/views.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test('list', async () => {
1515
"default_value": null,
1616
"enums": [],
1717
"format": "int8",
18-
"id": "16420.1",
18+
"id": "16423.1",
1919
"identity_generation": null,
2020
"is_generated": false,
2121
"is_identity": false,
@@ -26,7 +26,7 @@ test('list', async () => {
2626
"ordinal_position": 1,
2727
"schema": "public",
2828
"table": "todos_view",
29-
"table_id": 16420,
29+
"table_id": 16423,
3030
},
3131
{
3232
"check": null,
@@ -35,7 +35,7 @@ test('list', async () => {
3535
"default_value": null,
3636
"enums": [],
3737
"format": "text",
38-
"id": "16420.2",
38+
"id": "16423.2",
3939
"identity_generation": null,
4040
"is_generated": false,
4141
"is_identity": false,
@@ -46,7 +46,7 @@ test('list', async () => {
4646
"ordinal_position": 2,
4747
"schema": "public",
4848
"table": "todos_view",
49-
"table_id": 16420,
49+
"table_id": 16423,
5050
},
5151
{
5252
"check": null,
@@ -55,7 +55,7 @@ test('list', async () => {
5555
"default_value": null,
5656
"enums": [],
5757
"format": "int8",
58-
"id": "16420.3",
58+
"id": "16423.3",
5959
"identity_generation": null,
6060
"is_generated": false,
6161
"is_identity": false,
@@ -66,7 +66,7 @@ test('list', async () => {
6666
"ordinal_position": 3,
6767
"schema": "public",
6868
"table": "todos_view",
69-
"table_id": 16420,
69+
"table_id": 16423,
7070
},
7171
],
7272
"comment": null,
@@ -112,7 +112,7 @@ test('retrieve', async () => {
112112
"default_value": null,
113113
"enums": [],
114114
"format": "int8",
115-
"id": "16420.1",
115+
"id": "16423.1",
116116
"identity_generation": null,
117117
"is_generated": false,
118118
"is_identity": false,
@@ -123,7 +123,7 @@ test('retrieve', async () => {
123123
"ordinal_position": 1,
124124
"schema": "public",
125125
"table": "todos_view",
126-
"table_id": 16420,
126+
"table_id": 16423,
127127
},
128128
{
129129
"check": null,
@@ -132,7 +132,7 @@ test('retrieve', async () => {
132132
"default_value": null,
133133
"enums": [],
134134
"format": "text",
135-
"id": "16420.2",
135+
"id": "16423.2",
136136
"identity_generation": null,
137137
"is_generated": false,
138138
"is_identity": false,
@@ -143,7 +143,7 @@ test('retrieve', async () => {
143143
"ordinal_position": 2,
144144
"schema": "public",
145145
"table": "todos_view",
146-
"table_id": 16420,
146+
"table_id": 16423,
147147
},
148148
{
149149
"check": null,
@@ -152,7 +152,7 @@ test('retrieve', async () => {
152152
"default_value": null,
153153
"enums": [],
154154
"format": "int8",
155-
"id": "16420.3",
155+
"id": "16423.3",
156156
"identity_generation": null,
157157
"is_generated": false,
158158
"is_identity": false,
@@ -163,7 +163,7 @@ test('retrieve', async () => {
163163
"ordinal_position": 3,
164164
"schema": "public",
165165
"table": "todos_view",
166-
"table_id": 16420,
166+
"table_id": 16423,
167167
},
168168
],
169169
"comment": null,

test/server/indexes.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test('list indexes', async () => {
1818
"class": "3124",
1919
"collation": "0",
2020
"comment": null,
21-
"id": 16396,
21+
"id": 16399,
2222
"index_attributes": [
2323
{
2424
"attribute_name": "id",
@@ -42,14 +42,14 @@ test('list indexes', async () => {
4242
"number_of_key_attributes": 1,
4343
"options": "0",
4444
"schema": "public",
45-
"table_id": 16390,
45+
"table_id": 16393,
4646
}
4747
`
4848
)
4949
})
5050

5151
test('retrieve index', async () => {
52-
const res = await app.inject({ method: 'GET', path: '/indexes/16396' })
52+
const res = await app.inject({ method: 'GET', path: '/indexes/16399' })
5353
const index = res.json<PostgresIndex>()
5454
expect(index).toMatchInlineSnapshot(
5555
`
@@ -59,7 +59,7 @@ test('retrieve index', async () => {
5959
"class": "3124",
6060
"collation": "0",
6161
"comment": null,
62-
"id": 16396,
62+
"id": 16399,
6363
"index_attributes": [
6464
{
6565
"attribute_name": "id",
@@ -83,7 +83,7 @@ test('retrieve index', async () => {
8383
"number_of_key_attributes": 1,
8484
"options": "0",
8585
"schema": "public",
86-
"table_id": 16390,
86+
"table_id": 16393,
8787
}
8888
`
8989
)

0 commit comments

Comments
 (0)