File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ test :
2+ dotnet test
Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ Namespace visualbasic
1010 <Test>
1111 Public Sub Test1()
1212 Dim webClient As New Net.WebClient
13- Dim apiKey As String = "wus_test"
13+ Dim apiKey As String = Environment.GetEnvironmentVariable( "API_KEY" )
1414 Assert.IsNotEmpty(apiKey)
1515 webClient.Headers.Add( "x-api-key" , apiKey)
16- Dim result = webClient.DownloadString( "https://api.mailslurp.com/inboxes/imap-smtp-access" )
17- Dim Json As Object
18- Assert.AreEqual(result, 1 )
16+ Dim username = webClient.DownloadString( "https://api.mailslurp.com/user/smtp/username" )
17+ Dim password = webClient.DownloadString( "https://api.mailslurp.com/user/smtp/password" )
18+ Dim port = webClient.DownloadString( "https://api.mailslurp.com/user/smtp/port" )
19+ Dim host = webClient.DownloadString( "https://api.mailslurp.com/user/smtp/host" )
1920 End Sub
2021 End Class
2122End Namespace
You can’t perform that action at this time.
0 commit comments