mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] bi_sql_editor: Migration to 13.0
This commit is contained in:
committed by
David James
parent
f020f4e8a7
commit
ad70e5d045
@@ -69,10 +69,10 @@ class TestBiSqlViewEditor(SingleTransactionCase):
|
||||
|
||||
def test_security(self):
|
||||
with self.assertRaises(AccessError):
|
||||
self.bi_sql_view.sudo(self.no_bi_user.id).search(
|
||||
self.bi_sql_view.with_user(self.no_bi_user.id).search(
|
||||
[("name", "=", "Partners View 2")]
|
||||
)
|
||||
bi = self.bi_sql_view.sudo(self.bi_user.id).search(
|
||||
bi = self.bi_sql_view.with_user(self.bi_user.id).search(
|
||||
[("name", "=", "Partners View 2")]
|
||||
)
|
||||
self.assertEqual(
|
||||
|
||||
Reference in New Issue
Block a user