Skip to content

Commit

Permalink
fix(CI): fixed TerminalNotifierDriver tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adveris-aadam committed Oct 4, 2024
1 parent b47ce70 commit b88fc98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Not released yet

* Added support for sound option on TerminalNotifier notifier

## 3.0.0 (2024-10-02)

* Remove deprecated code:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $notification =
->setBody('This is the body of your notification')
->setIcon(__DIR__.'/path/to/your/icon.png')
->addOption('subtitle', 'This is a subtitle') // Only works on macOS (AppleScriptDriver)
->addOption('sound', 'Frog') // Only works on macOS (AppleScriptDriver)
->addOption('sound', 'Frog') // Only works on macOS (AppleScriptDriver & TerminalNotifierDriver)
;

// Send it
Expand Down
2 changes: 1 addition & 1 deletion tests/Driver/TerminalNotifierDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function getExpectedCommandLineForNotificationWithAllOptions(): string
}

return <<<'CLI'
'terminal-notifier' '-message' 'I'\''m the notification body' '-title' 'I'\''m the notification title' '-open' 'https://google.com' '-sound' 'Frog'
'terminal-notifier' '-message' 'I'\''m the notification body' '-title' 'I'\''m the notification title' '-open' 'https://google.com' '-sound' 'Frog'
CLI;
}
}

0 comments on commit b88fc98

Please sign in to comment.