From 186e3e092ba1186b8e037c4cf7984634d3b717e9 Mon Sep 17 00:00:00 2001 From: bivashy Date: Wed, 22 May 2024 01:46:43 +0500 Subject: [PATCH] Change link to the repository in the tests --- src/test/java/updates/message/MessageNewTest.java | 6 +++--- src/test/resource/updates/message_new/attached_link.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/updates/message/MessageNewTest.java b/src/test/java/updates/message/MessageNewTest.java index 529d6562..d26b7ad4 100644 --- a/src/test/java/updates/message/MessageNewTest.java +++ b/src/test/java/updates/message/MessageNewTest.java @@ -19,10 +19,10 @@ void attachedLink() { AttachedLink attachedLink = attachment.getLink(); assertNotNull(attachedLink); - assertEquals("https://github.com/yvasyliev/java-vk-bots-long-poll-api", attachedLink.getUrl()); - assertEquals("yvasyliev/java-vk-bots-long-poll-api", attachedLink.getTitle()); + assertEquals("https://github.com/bivashy/java-vk-bots-long-poll-api", attachedLink.getUrl()); + assertEquals("bivashy/java-vk-bots-long-poll-api", attachedLink.getTitle()); assertEquals("github.com", attachedLink.getCaption()); - assertEquals("A Java library to create VK bots using Bots Long Poll API - yvasyliev/java-vk-bots-long-poll-api", attachedLink.getDescription()); + assertEquals("A Java library to create VK bots using Bots Long Poll API - bivashy/java-vk-bots-long-poll-api", attachedLink.getDescription()); Photo photo = attachedLink.getPhoto(); assertNotNull(photo); diff --git a/src/test/resource/updates/message_new/attached_link.json b/src/test/resource/updates/message_new/attached_link.json index 909b51ed..dca0950b 100644 --- a/src/test/resource/updates/message_new/attached_link.json +++ b/src/test/resource/updates/message_new/attached_link.json @@ -19,10 +19,10 @@ { "type": "link", "link": { - "url": "https://github.com/yvasyliev/java-vk-bots-long-poll-api", - "title": "yvasyliev/java-vk-bots-long-poll-api", + "url": "https://github.com/bivashy/java-vk-bots-long-poll-api", + "title": "bivashy/java-vk-bots-long-poll-api", "caption": "github.com", - "description": "A Java library to create VK bots using Bots Long Poll API - yvasyliev/java-vk-bots-long-poll-api", + "description": "A Java library to create VK bots using Bots Long Poll API - bivashy/java-vk-bots-long-poll-api", "photo": { "album_id": -27, "date": 1619335586,