public void NoGroupId_GetDashboardById_ValidUrl() { var expected = "beta/myorg/dashboards/{dashboardId}"; var addresses = new PowerBiAddresses(); var actual = addresses.GetDashboard(string.Empty); Assert.AreEqual(expected, actual); }
public void GroupId_GetDashboardById_ValidUrl() { var expected = "beta/myorg/groups/123/dashboards/{dashboardId}"; var addresses = new PowerBiAddresses(); var actual = addresses.GetDashboard("123"); Assert.AreEqual(expected, actual); }