Skip to content

Commit 86863f7

Browse files
committed
test: remove replica_identity from POST /tables
The library tries to not do an update (ALTER) in a create (POST), so we remove replica_identity test from POST /tables. In the future we aim for (almost) complete parity of options between create and update.
1 parent 21a4af1 commit 86863f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/integration/index.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,8 @@ describe('/tables', async () => {
258258
assert.equal(true, !!included)
259259
})
260260
it('POST /tables should create a table', async () => {
261-
const { data: newTable } = await axios.post(`${URL}/tables`, { name: 'test', replica_identity: 'FULL', comment: 'foo' })
261+
const { data: newTable } = await axios.post(`${URL}/tables`, { name: 'test', comment: 'foo' })
262262
assert.equal(`${newTable.schema}.${newTable.name}`, 'public.test')
263-
assert.equal(newTable.replica_identity, 'FULL')
264263
assert.equal(newTable.comment, 'foo')
265264

266265
const { data: tables } = await axios.get(`${URL}/tables`)

0 commit comments

Comments
 (0)