diff --git a/Ductus.FluentDocker.MsTest/Ductus.FluentDocker.MsTest.csproj b/Ductus.FluentDocker.MsTest/Ductus.FluentDocker.MsTest.csproj index 3e30c0f..3838171 100644 --- a/Ductus.FluentDocker.MsTest/Ductus.FluentDocker.MsTest.csproj +++ b/Ductus.FluentDocker.MsTest/Ductus.FluentDocker.MsTest.csproj @@ -28,7 +28,7 @@ Documentation: https://github.com/mariotoffia/FluentDocker - + diff --git a/Ductus.FluentDocker.Tests/CommandTests/ComposeCommandTests.cs b/Ductus.FluentDocker.Tests/CommandTests/ComposeCommandTests.cs index 56a581b..195c766 100644 --- a/Ductus.FluentDocker.Tests/CommandTests/ComposeCommandTests.cs +++ b/Ductus.FluentDocker.Tests/CommandTests/ComposeCommandTests.cs @@ -1,10 +1,8 @@ using System.IO; -using System.Linq; using System.Threading.Tasks; using Ductus.FluentDocker.Commands; using Ductus.FluentDocker.Extensions; using Ductus.FluentDocker.Model.Common; -using Ductus.FluentDocker.Services; using Ductus.FluentDocker.Services.Extensions; using Ductus.FluentDocker.Services.Impl; using Ductus.FluentDocker.Tests.Compose; @@ -33,7 +31,13 @@ public async Task try { - var result = DockerHost.Host.ComposeUp(composeFile: file, certificates: DockerHost.Certificates); + var result = DockerHost.Host + .ComposeUpCommand(new Commands.Compose.ComposeUpCommandArgs + { + ComposeFiles = new System.Collections.Generic.List() { file }, + Certificates = DockerHost.Certificates + }); + Assert.IsTrue(result.Success); var ids = DockerHost.Host.ComposePs(composeFile: file, certificates: DockerHost.Certificates); @@ -83,8 +87,13 @@ public void Issue79_DockerComposeOnDockerMachineShallWork() typeof(NsResolver).ResourceExtract(fullPath); var hostService = new DockerHostService("wifi-test"); + var composeResponse = hostService.Host - .ComposeUp(composeFile: file, certificates: hostService.Certificates); + .ComposeUpCommand(new Commands.Compose.ComposeUpCommandArgs + { + ComposeFiles = new System.Collections.Generic.List() { file }, + Certificates = hostService.Certificates + }); } } } diff --git a/Ductus.FluentDocker/Ductus.FluentDocker.csproj b/Ductus.FluentDocker/Ductus.FluentDocker.csproj index 23e7d82..748156b 100644 --- a/Ductus.FluentDocker/Ductus.FluentDocker.csproj +++ b/Ductus.FluentDocker/Ductus.FluentDocker.csproj @@ -27,7 +27,7 @@ latest - +