GetDashboards() public method

public GetDashboards ( string groupId ) : string
groupId string
return string
コード例 #1
0
        public void NoGroupId_GetDashboards_ValidUrl()
        {
            var expected = "beta/myorg/dashboards";
            var addresses = new PowerBiAddresses();

            var actual = addresses.GetDashboards(string.Empty);

            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
        public void GroupId_GetDashboards_ValidUrl()
        {
            var expected = "beta/myorg/groups/123/dashboards";
            var addresses = new PowerBiAddresses();

            var actual = addresses.GetDashboards("123");

            Assert.AreEqual(expected, actual);
        }