File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Contentstack.Management.Core.Tests/IntegrationTest Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,19 +59,19 @@ public void Test002_Should_Return_Failuer_On_Wrong_Async_Login_Credentials()
5959
6060 [ TestMethod ]
6161 [ DoNotParallelize ]
62- public void Test003_Should_Return_Success_On_Async_Login ( )
62+ public async System . Threading . Tasks . Task Test003_Should_Return_Success_On_Async_Login ( )
6363 {
6464 ContentstackClient client = new ContentstackClient ( ) ;
6565
6666 try
6767 {
68- ContentstackResponse contentstackResponse = client . Login ( Contentstack . Credential ) ;
68+ ContentstackResponse contentstackResponse = await client . LoginAsync ( Contentstack . Credential ) ;
6969 string loginResponse = contentstackResponse . OpenResponse ( ) ;
7070
7171 Assert . IsNotNull ( client . contentstackOptions . Authtoken ) ;
7272 Assert . IsNotNull ( loginResponse ) ;
7373
74- client . Logout ( ) ;
74+ await client . LogoutAsync ( ) ;
7575 }
7676 catch ( Exception e )
7777 {
You can’t perform that action at this time.
0 commit comments