Skip to content

Commit

Permalink
Changed tests accordingly to the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dinooo13 committed Feb 10, 2022
1 parent 8172531 commit c15fe6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ public function testCommitWithAllParams()
$config = array();
$this->expectRequestFlow('post', 'commit?container=123&repo=docker.io&tag=latest&comment=hello&author=batman&pause=1&changes=EXPOSE%208080', $this->createResponseJson($json), 'expectJson');

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

public function testExecCreate()
Expand Down
2 changes: 1 addition & 1 deletion tests/FunctionalClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ public function testCreateAndCommitContainer()
$this->assertNotNull($container['Id']);
$this->assertEmpty($container['Warnings']);

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

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

0 comments on commit c15fe6b

Please sign in to comment.