1 user.test UserEntityCallbacksTestCase::testUriCallback()

Test URI callback.

File

core/modules/user/tests/user.test, line 2613
Tests for user.module.

Class

UserEntityCallbacksTestCase
Test user entity callbacks.

Code

function testUriCallback() {
  $uri = entity_uri('user', $this->account);
  $this->assertEqual('user/' . $this->account->uid, $uri['path'], t('Correct user URI.'));
}