mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-5076 BitlyUrlShortenerTest failing as URL is now longer
This commit is contained in:
@@ -38,7 +38,7 @@ public class BitlyUrlShortenerTest extends TestCase
|
|||||||
assertNotNull(shortUrl);
|
assertNotNull(shortUrl);
|
||||||
assertFalse(shortUrl.isEmpty());
|
assertFalse(shortUrl.isEmpty());
|
||||||
assertFalse(url.equals(shortUrl));
|
assertFalse(url.equals(shortUrl));
|
||||||
assertTrue(shortUrl.length()<=20);
|
assertTrue(shortUrl.length() <= url.length());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user