[MIG] bi_sql_editor: Migration to 13.0

This commit is contained in:
HviorForgeFlow
2020-04-15 10:54:36 +02:00
committed by David James
parent f020f4e8a7
commit ad70e5d045
5 changed files with 7 additions and 55 deletions

View File

@@ -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(