21 lines
560 B
C#
21 lines
560 B
C#
using System.Configuration;
|
|
using LeafWeb.Core.Entities;
|
|
using LeafWeb.Core.Utility;
|
|
using NUnit.Framework;
|
|
|
|
namespace LeafWeb.Core.Tests.Remote
|
|
{
|
|
[TestFixture]
|
|
public class PiscalSshClientTests
|
|
{
|
|
[Test]
|
|
public void Client()
|
|
{
|
|
var leafInputFile = new LeafInputFile {Filename = "blah", Id = 1, Contents = "test".GetBytes()};
|
|
var piscalConnectionString = ConfigurationManager.ConnectionStrings["PiscalServer"];
|
|
var client = new PiscalSshClient(piscalConnectionString.ConnectionString);
|
|
client.SubmitLeafInputFile(leafInputFile);
|
|
}
|
|
}
|
|
}
|