Update search-path acceptance tests to modify the queries. Closes #793

This commit is contained in:
Puskar Basu
2021-08-24 14:31:29 +05:30
committed by GitHub
parent 8438f64e1a
commit 3da1c4b5ce
2 changed files with 10 additions and 2 deletions

View File

@@ -3,5 +3,9 @@ SELECT s_path.setting as resource,
CASE
WHEN s_path.setting LIKE 'aws%' THEN 'ok'
ELSE 'alarm'
END as status, '' as reason
END as status,
CASE
WHEN s_path.setting LIKE 'aws%' THEN 'Starts with "aws"'
ELSE 'Does not start with "aws"'
END as reason
FROM s_path

View File

@@ -3,5 +3,9 @@ SELECT s_path.setting as resource,
CASE
WHEN s_path.setting LIKE 'a, b, c%' THEN 'ok'
ELSE 'alarm'
END as status, '' as reason
END as status,
CASE
WHEN s_path.setting LIKE 'aws%' THEN 'Starts with "a, b, c"'
ELSE 'Does not start with "a, b, c"'
END as reason
FROM s_path