You are here

protected function AgreementTestCase::isUserProfileEditPage in Agreement 7.2

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

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

Parameters

int $uid: The user ID to check.

File

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

Class

AgreementTestCase
Agreement base test class.

Code

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