Skip to content

Commit f668aa9

Browse files
committed
fix(test): look for the binary, not the path of the binary
1 parent 75227c1 commit f668aa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/targets/postgresql_db/tasks/state_dump_restore_role.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
assert:
8888
that:
8989
- result is changed
90-
- result.executed_commands[0] is search("/bin/pg_dump")
90+
- result.executed_commands[0] is search("pg_dump")
9191
- result.executed_commands[0] is search("-n schema1")
9292

9393
- name: pg_restore archive on dst_db with session_role
@@ -106,7 +106,7 @@
106106
assert:
107107
that:
108108
- result is changed
109-
- result.executed_commands[0] is search("/bin/pg_restore")
109+
- result.executed_commands[0] is search("pg_restore")
110110
- result.executed_commands[0] is search("--role=")
111111

112112
- name: check restored schema1 owner is db_session_role1
@@ -166,7 +166,7 @@
166166
assert:
167167
that:
168168
- result is changed
169-
- result.executed_commands[0] is search("/bin/pg_dump")
169+
- result.executed_commands[0] is search("pg_dump")
170170
- result.executed_commands[0] is search("-n schema1")
171171
- result.executed_commands[0] is search("--role=")
172172

0 commit comments

Comments
 (0)