We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4325f43 commit ed380f7Copy full SHA for ed380f7
tests/unit/test_postgresql.py
@@ -208,7 +208,11 @@ def test_grant_relation_access_group_memberships(harness):
208
harness.charm.postgresql.grant_relation_access_group_memberships()
209
210
execute.assert_has_calls([
211
- call("SELECT usename FROM pg_catalog.pg_user WHERE usename LIKE 'relation_id_%';"),
+ call(
212
+ "SELECT usename "
213
+ "FROM pg_catalog.pg_user "
214
+ "WHERE usename LIKE 'relation_id_%' OR usename LIKE 'relation-%';"
215
+ ),
216
])
217
218
0 commit comments