Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Dec 23, 2022
1 parent 8cc2adb commit d5b16ae
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/DockerContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ public function it_can_set_volumes()
->setVolume('/data', '/data')
->getStartCommand();

$this->assertEquals('docker run -v /on/my/host:/on/my/container -v /data:/data -d --rm spatie/docker',
$command);
$this->assertEquals(
'docker run -v /on/my/host:/on/my/container -v /data:/data -d --rm spatie/docker',
$command
);
}

/** @test */
Expand All @@ -124,8 +126,10 @@ public function it_can_set_labels()
->setLabel('name', 'spatie')
->getStartCommand();

$this->assertEquals('docker run -l traefik.enable=true -l foo=bar -l name=spatie -d --rm spatie/docker',
$command);
$this->assertEquals(
'docker run -l traefik.enable=true -l foo=bar -l name=spatie -d --rm spatie/docker',
$command
);
}

/** @test */
Expand Down Expand Up @@ -213,8 +217,10 @@ public function it_can_generate_exec_command_with_remote_host()
->remoteHost('ssh://username@host')
->getExecCommand('abcdefghijkl', 'whoami');

$this->assertEquals('echo "whoami" | docker -H ssh://username@host exec --interactive abcdefghijkl bash -',
$command);
$this->assertEquals(
'echo "whoami" | docker -H ssh://username@host exec --interactive abcdefghijkl bash -',
$command
);
}

/** @test */
Expand Down

0 comments on commit d5b16ae

Please sign in to comment.