GetDashboard() публичный Метод

public GetDashboard ( string groupId ) : string
groupId string
Результат string
Пример #1
0
        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);
        }
Пример #2
0
        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);
        }