public function LinkFieldValidateTest::testLinkUrlFieldIsBig in Link 7
Here, we're testing that a very long url is stored properly in the db.
Basically, trying to test http://drupal.org/node/376818
File
- tests/
LinkFieldValidateTest.test, line 396 - Link field Validation Tests.
Class
- LinkFieldValidateTest
- Link field Validation Tests.
Code
public function testLinkUrlFieldIsBig() {
$long_url = 'http://th.wikipedia.org/wiki/%E0%B9%82%E0%B8%A3%E0%B8%87%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%99%E0%B9%80%E0%B8%9A%E0%B8%8D%E0%B8%88%E0%B8%A1%E0%B8%A3%E0%B8%B2%E0%B8%8A%E0%B8%B9%E0%B8%97%E0%B8%B4%E0%B8%A8_%E0%B8%99%E0%B8%84%E0%B8%A3%E0%B8%A8%E0%B8%A3%E0%B8%B5%E0%B8%98%E0%B8%A3%E0%B8%A3%E0%B8%A1%E0%B8%A3%E0%B8%B2%E0%B8%8A';
$this
->linkTestValidateUrl($long_url);
}