You are here

function LinkValidateSpecificURL::testLinkURLFieldIsBig in Link 6.2

Here, we're testing that a very long url is stored properly in the db.

Basicly, trying to test http://drupal.org/node/376818

File

tests/link.validate.test, line 354
Tests that exercise the validation functions in the link module.

Class

LinkValidateSpecificURL

Code

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
    ->link_test_validate_url($long_url);
}