Piscal Client improvements
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Configuration;
|
||||
using LeafWeb.Core.Entities;
|
||||
using LeafWeb.Core.Remote;
|
||||
using LeafWeb.Core.Utility;
|
||||
using NUnit.Framework;
|
||||
|
||||
@@ -11,7 +12,7 @@ namespace LeafWeb.Core.Tests.Remote
|
||||
[Test]
|
||||
public void Client()
|
||||
{
|
||||
var leafInputFile = new LeafInputFile {Filename = "blah", Id = 1, Contents = "test".GetBytes()};
|
||||
var leafInputFile = new PiscalLeafInputFile{Filename = "blah", Id = 1, Contents = "test".GetBytes(), DirectoryName = "TestDirectory"};
|
||||
var piscalConnectionString = ConfigurationManager.ConnectionStrings["PiscalServer"];
|
||||
var client = new PiscalSshClient(piscalConnectionString.ConnectionString);
|
||||
client.SubmitLeafInputFile(leafInputFile);
|
||||
|
||||
Reference in New Issue
Block a user