You are here

protected function AgreementTestCase::isUserProfilePage in Agreement 7.2

Same name and namespace in other branches
  1. 6.2 agreement.test \AgreementTestCase::isUserProfilePage()
  2. 6 agreement.test \AgreementTestCase::isUserProfilePage()

Checks if the current page is the current user view page.

Parameters

int $uid: The user ID to check. Unused currently.

File

./agreement.test, line 134
Tests for Agreement module.

Class

AgreementTestCase
Agreement base test class.

Code

protected function isUserProfilePage($uid) {
  $this
    ->assertUrl('user', array(), t('On user profile page: !url', array(
    '!url' => $this
      ->getUrl(),
  )));
}