Skip to content

Commit

Permalink
Bump telegram-bot/api from 2.3.26 to 2.5.0 (#94)
Browse files Browse the repository at this point in the history
* Bump telegram-bot/api from 2.3.26 to 2.5.0

Bumps [telegram-bot/api](https://github.com/TelegramBot/Api) from 2.3.26 to 2.5.0.
- [Release notes](https://github.com/TelegramBot/Api/releases)
- [Changelog](https://github.com/TelegramBot/Api/blob/master/CHANGELOG.md)
- [Commits](TelegramBot/Api@v2.3.26...v2.5.0)

---
updated-dependencies:
- dependency-name: telegram-bot/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix test

* Rename

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malachi Soord <[email protected]>
  • Loading branch information
dependabot[bot] and inverse authored Mar 2, 2024
1 parent a4650bd commit 7dbbb3a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"symfony/dom-crawler": "^6.3",
"symfony/http-client": "^6.3",
"symfony/yaml": "^6.3",
"telegram-bot/api": "v2.3.26",
"telegram-bot/api": "v2.5.0",
"verifiedjoseph/ntfy-php-library": "^4"
},
"autoload": {
Expand Down
23 changes: 12 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/Notifier/TelegramNotifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TelegramNotifierTest extends TestCase
{
public function testNotify(): void
{
$mockBotApi = $this->createMock(BotApi::class);
$mockBotApi = $this->getMockBuilder(BotApi::class)->setConstructorArgs(['fake-token'])->getMock();
$mockBotApi
->expects($this->once())
->method('sendMessage')
Expand Down

0 comments on commit 7dbbb3a

Please sign in to comment.