Skip to content

Commit c15fe6b

Browse files
committed
Changed tests accordingly to the last commit
1 parent 8172531 commit c15fe6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ public function testCommitWithAllParams()
616616
$config = array();
617617
$this->expectRequestFlow('post', 'commit?container=123&repo=docker.io&tag=latest&comment=hello&author=batman&pause=1&changes=EXPOSE%208080', $this->createResponseJson($json), 'expectJson');
618618

619-
$this->expectPromiseResolveWith($json, $this->client->containerCommit('123', $config, 'docker.io', 'latest', 'hello', 'batman', true, 'EXPOSE 8080'));
619+
$this->expectPromiseResolveWith($json, $this->client->containerCommit('123', 'docker.io', 'latest', 'hello', 'batman', true, 'EXPOSE 8080', $config));
620620
}
621621

622622
public function testExecCreate()

tests/FunctionalClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ public function testCreateAndCommitContainer()
495495
$this->assertNotNull($container['Id']);
496496
$this->assertEmpty($container['Warnings']);
497497

498-
$promise = $this->client->containerCommit($container['Id'], $config);
498+
$promise = $this->client->containerCommit($container['Id']);
499499
$image = Block\await($promise, Loop::get());
500500

501501
$this->assertNotNull($image['Id']);

0 commit comments

Comments
 (0)