Skip to content

Commit 262a87d

Browse files
committed
fix test
1 parent f6618ae commit 262a87d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

schema/src/test/test_aaa_normaluserfails.sql

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ AS
6868
or p.grantee in (select granted_role from user_role_privs)
6969
);
7070

71-
ut.expect(l_cnt).to_equal(0).comment(
72-
'Expected no SELECT on ' || c_owner || '.' || c_tables(i) ||
73-
' for user=' || user || '. Found count=' || l_cnt
74-
);
71+
if l_cnt <> 0 then
72+
ut.fail(
73+
'Expected no SELECT on ' || c_owner || '.' || c_tables(i) ||
74+
' for user=' || user || '. Found count=' || l_cnt
75+
);
76+
end if;
7577
end loop;
7678
end;
7779
END;

0 commit comments

Comments
 (0)