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