Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maschmann committed Sep 13, 2024
1 parent 9440f38 commit e224830
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Tests/Asm/Ansible/Command/AnsiblePlaybookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,13 @@ public function testExecuteWithCallback(): void

public function textExecuteWithTextOutput(): void
{
$command = $this->testCreateInstance();
$result = $command
->play($this->getPlayUri())
->user('maschmann')
->extraVars(['project_release=' . (new DateTime())->getTimestamp()])
->limit('test')
->check()
->execute(null);

$this->assertTrue(is_string($result));
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
},
"require-dev": {
"phpunit/phpunit": "^10.0|^11.0",
"mikey179/vfsstream": "^1.6"
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^1.12"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit e224830

Please sign in to comment.