mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashboard_folders refactoring
This commit is contained in:
parent
74840178cf
commit
04da97bffb
@ -37,7 +37,7 @@ func TestDashboardAclDataAccess(t *testing.T) {
|
||||
Convey("When reading dashboard acl should include acl for parent folder", func() {
|
||||
query := m.GetInheritedDashboardAclQuery{OrgId: 1, DashboardId: childDash.Id}
|
||||
|
||||
err := GetDashboardAcl(&query)
|
||||
err := GetInheritedDashboardAcl(&query)
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
So(len(query.Result), ShouldEqual, 1)
|
||||
@ -56,7 +56,7 @@ func TestDashboardAclDataAccess(t *testing.T) {
|
||||
Convey("When reading dashboard acl should include acl for parent folder and child", func() {
|
||||
query := m.GetInheritedDashboardAclQuery{OrgId: 1, DashboardId: childDash.Id}
|
||||
|
||||
err := GetDashboardAcl(&query)
|
||||
err := GetInheritedDashboardAcl(&query)
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
So(len(query.Result), ShouldEqual, 2)
|
||||
|
Loading…
Reference in New Issue
Block a user