You are here

protected function FeedsSchedulerTestCase::loginAdmin in Feeds 7

Helper, log in as an admin user.

2 calls to FeedsSchedulerTestCase::loginAdmin()
FeedsSchedulerTestCase::setUp in tests/feeds_scheduler.test
Set up test.
FeedsSchedulerTestCase::testScheduling in tests/feeds_scheduler.test
Test scheduling on cron.

File

tests/feeds_scheduler.test, line 261
Feeds tests.

Class

FeedsSchedulerTestCase
Test cron scheduling.

Code

protected function loginAdmin() {
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'administer feeds',
    'administer nodes',
  )));
}