Skip to content

Commit 05062de

Browse files
Don't use example.com for link previews in tests.
1 parent afa66e7 commit 05062de

File tree

71 files changed

+52
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+52
-52
lines changed

src/main/kotlin/Permutations.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ object Generators {
308308
fun bytes(numBytes: Int, minSize: Int = 1): Generator<ByteArray> = ByteGenerator(numBytes, minSize)
309309
fun <T> enum(clazz: Class<T>, excluding: T? = null): Generator<T> = ListGenerator(clazz.enumConstants.filterNot { it == excluding }.toList())
310310
fun <T> enum(clazz: Class<T>, vararg excluding: T): Generator<T> = ListGenerator(clazz.enumConstants.filterNot { excluding.contains(it) }.toList())
311-
fun urls(): Generator<String> = Generators.list("", "https://example.com/" + SeededRandom.string(), "https://example.com/" + SeededRandom.string())
312-
fun nonEmptyUrls(): Generator<String> = Generators.list("https://example.com/" + SeededRandom.string(), "https://example.com/" + SeededRandom.string())
311+
fun urls(): Generator<String> = Generators.list("", "https://signal.org/" + SeededRandom.string(), "https://signal.org/" + SeededRandom.string())
312+
fun nonEmptyUrls(): Generator<String> = Generators.list("https://signal.org/" + SeededRandom.string(), "https://signal.org/" + SeededRandom.string())
313313
fun timestamps(): Generator<Long> = Generators.list(0L, SeededRandom.long(lower = 1659383695000, upper = 1911844456000), SeededRandom.long(lower = 1659383695000, upper = 1911844456000))
314314
fun nonZeroTimestamps(): Generator<Long> = Generators.list(SeededRandom.long(lower = 1659383695000, upper = 1911844456000), SeededRandom.long(lower = 1659383695000, upper = 1911844456000))
315315
fun incrementingTimestamps(lower: Long = 1659383695000, upper: Long = 1911844456000): Generator<Long> = IncrementingTimestampGenerator(lower, upper)
-1 Bytes
Binary file not shown.

test-cases/account_data_01.txtproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Frame {
5151
phoneNumberSharingMode = PhoneNumberSharingMode.NOBODY
5252
universalExpireTimerSeconds = 264034631
5353
}
54-
avatarUrlPath = "https://example.com/neLVzsX"
54+
avatarUrlPath = "https://signal.org/neLVzsX"
5555
donationSubscriberData = SubscriberData {
5656
currencyCode = "USD"
5757
manuallyCancelled = true
-1 Bytes
Binary file not shown.

test-cases/account_data_02.txtproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Frame {
6969
typingIndicators = true
7070
universalExpireTimerSeconds = 1305377059
7171
}
72-
avatarUrlPath = "https://example.com/lnJDCHSAKhylA"
72+
avatarUrlPath = "https://signal.org/lnJDCHSAKhylA"
7373
donationSubscriberData = SubscriberData {
7474
currencyCode = "EUR"
7575
subscriberId = <0c4220ab396c4b8ebdefd49b44b4c8d19c47cb807844279fb4a4e927c5f36b40>
-1 Bytes
Binary file not shown.

test-cases/account_data_04.txtproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Frame {
6767
typingIndicators = true
6868
universalExpireTimerSeconds = 264034631
6969
}
70-
avatarUrlPath = "https://example.com/neLVzsX"
70+
avatarUrlPath = "https://signal.org/neLVzsX"
7171
familyName = ""
7272
givenName = ""
7373
profileKey = <c5fbf0ffdf7a948adb326789aebcb5a166a1e4dfbdea011a4c4f4cdd16292569>
-1 Bytes
Binary file not shown.

test-cases/account_data_05.txtproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Frame {
4747
phoneNumberSharingMode = PhoneNumberSharingMode.NOBODY
4848
universalExpireTimerSeconds = 1305377059
4949
}
50-
avatarUrlPath = "https://example.com/lnJDCHSAKhylA"
50+
avatarUrlPath = "https://signal.org/lnJDCHSAKhylA"
5151
donationSubscriberData = SubscriberData {
5252
currencyCode = "USD"
5353
manuallyCancelled = true
-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)