Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e13c850041 | ||
|
|
156d9ddf78 |
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "envbao-admin",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "envbao-admin",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@tanstack/react-query": "^5.104.5",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "envbao-admin",
|
||||
"private": true,
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"license": "BSD-3-Clause",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -33,7 +33,9 @@ describe.skipIf(!pg)('database engine against Postgres', () => {
|
||||
const read = await readConfig(client, mount, conn, 'app')
|
||||
expect(read).toMatchObject({ plugin_name: 'postgresql-database-plugin', username: pg!.values.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
|
||||
const edit = draftFromRole(conn, 'app', read!)
|
||||
|
||||
Reference in new issue
Block a user