microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
Tests/Microsoft.Teams.Api.Tests/Clients/ApiClientTests.cs
25lines · modecode
| 1 | |
| 2 | using Microsoft.Teams.Api.Clients; |
| 3 | |
| 4 | namespace Microsoft.Teams.Api.Tests.Clients; |
| 5 | |
| 6 | public class ApiClientTests |
| 7 | { |
| 8 | [Fact] |
| 9 | public void ApiClient_Default() |
| 10 | { |
| 11 | var serviceUrl = "https://api.botframework.com"; |
| 12 | var apiClient = new ApiClient(serviceUrl); |
| 13 | |
| 14 | Assert.Equal(serviceUrl, apiClient.ServiceUrl); |
| 15 | } |
| 16 | |
| 17 | [Fact] |
| 18 | public void ApiClient_Users_Default() |
| 19 | { |
| 20 | var serviceUrl = "https://api.botframework.com"; |
| 21 | var apiClient = new ApiClient(serviceUrl); |
| 22 | |
| 23 | Assert.Equal(serviceUrl, apiClient.ServiceUrl); |
| 24 | } |
| 25 | } |