Ver Fonte

Fixed hide warnings.

drieseng há 9 anos atrás
pai
commit
1810e45284

+ 1 - 2
src/Renci.SshNet.Tests/Classes/Sftp/Requests/SftpRenameRequestTest.cs

@@ -23,8 +23,7 @@ namespace Renci.SshNet.Tests.Classes.Sftp.Requests
         private string _newPath;
         private byte[] _newPathBytes;
 
-        [TestInitialize]
-        public void Init()
+        protected override void OnInit()
         {
             var random = new Random();
 

+ 1 - 2
src/Renci.SshNet.Tests/Classes/Sftp/Requests/SftpSymLinkRequestTest.cs

@@ -23,8 +23,7 @@ namespace Renci.SshNet.Tests.Classes.Sftp.Requests
         private string _existingPath;
         private byte[] _existingPathBytes;
 
-        [TestInitialize]
-        public void Init()
+        protected override void OnInit()
         {
             var random = new Random();