Added random URLs to help with CIs.
This commit is contained in:
parent
7aaa46e9f4
commit
4972e8e5d8
2 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ class PinboardTest : LocalProperties() {
|
|||
@Test
|
||||
fun testPinboard() {
|
||||
val apiToken = getProperty("pinboard-api-token")
|
||||
val url = "https://www.example.com/"
|
||||
val url = "https://www.example.com/${(1000..5000).random()}"
|
||||
val ircServer = "irc.test.com"
|
||||
val entry = EntryLink(url, "Test Example", "ErikT", "", "#mobitopia", listOf("test"))
|
||||
|
||||
|
@ -55,7 +55,7 @@ class PinboardTest : LocalProperties() {
|
|||
pinboard.addPin(ircServer, entry)
|
||||
assertTrue(validatePin(apiToken, url = entry.link, entry.title, entry.nick, entry.channel), "validate add")
|
||||
|
||||
entry.link = "https://www.foo.com/"
|
||||
entry.link = "https://www.example.com/${(5001..9999).random()}"
|
||||
pinboard.updatePin(ircServer, url, entry)
|
||||
assertTrue(validatePin(apiToken, url = entry.link, ircServer), "validate update")
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Sat Feb 12 23:41:45 PST 2022
|
||||
version.buildmeta=023
|
||||
#Mon Feb 14 23:01:11 PST 2022
|
||||
version.buildmeta=024
|
||||
version.major=0
|
||||
version.minor=8
|
||||
version.patch=0
|
||||
version.prerelease=rc
|
||||
version.project=mobibot
|
||||
version.semver=0.8.0-rc+023
|
||||
version.semver=0.8.0-rc+024
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue