Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb99b7441b | ||
|
|
88e3a4564b | ||
|
|
e13c850041 | ||
|
|
156d9ddf78 |
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "envbao-admin",
|
"name": "envbao-admin",
|
||||||
"version": "0.2.0",
|
"version": "0.2.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "envbao-admin",
|
"name": "envbao-admin",
|
||||||
"version": "0.2.0",
|
"version": "0.2.2",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/react-query": "^5.104.5",
|
"@tanstack/react-query": "^5.104.5",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "envbao-admin",
|
"name": "envbao-admin",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.2.0",
|
"version": "0.2.2",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -33,7 +33,9 @@ describe.skipIf(!pg)('database engine against Postgres', () => {
|
|||||||
const read = await readConfig(client, mount, conn, 'app')
|
const read = await readConfig(client, mount, conn, 'app')
|
||||||
expect(read).toMatchObject({ plugin_name: 'postgresql-database-plugin', username: pg!.values.username })
|
expect(read).toMatchObject({ plugin_name: 'postgresql-database-plugin', username: pg!.values.username })
|
||||||
expect(String(read!.connection_url)).toContain('{{username}}')
|
expect(String(read!.connection_url)).toContain('{{username}}')
|
||||||
expect(JSON.stringify(read)).not.toContain(String(pg!.values.password))
|
// Not a substring search: CI's password ("postgres") is also the username and the hostname.
|
||||||
|
expect(read).not.toHaveProperty('password')
|
||||||
|
expect(JSON.stringify(read)).not.toContain(`:${String(pg!.values.password)}@`)
|
||||||
|
|
||||||
// editing with the password left blank must keep the stored one, or the next credential request would fail
|
// editing with the password left blank must keep the stored one, or the next credential request would fail
|
||||||
const edit = draftFromRole(conn, 'app', read!)
|
const edit = draftFromRole(conn, 'app', read!)
|
||||||
|
|||||||
@@ -5,5 +5,7 @@ export default defineConfig({
|
|||||||
test: {
|
test: {
|
||||||
include: ['src/**/*.integration.test.ts'],
|
include: ['src/**/*.integration.test.ts'],
|
||||||
testTimeout: 15000,
|
testTimeout: 15000,
|
||||||
|
// The files share one OpenBao and one Postgres: concurrent role creation fails with "tuple concurrently updated".
|
||||||
|
fileParallelism: false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user