fix(core): update

This commit is contained in:
2019-08-16 18:21:55 +02:00
parent a28b10ac51
commit 73f8ded3fe
4 changed files with 22 additions and 4 deletions

View File

@ -64,12 +64,16 @@ tap.test('should list all services', async tools => {
});
tap.test('should create a service', async () => {
const testNetwork = await docker.DockerNetwork.createNetwork(testDockerHost, {
Name: 'testNetwork'
});
await DockerService.createService(testDockerHost, {
Image: 'nginx',
Image: 'nginx:latest',
Labels: {
'testlabel': 'hi'
},
Name: 'testService'
Name: 'testService',
networks: [testNetwork]
});
});