You are here

public function TwitterOAuthTest::testAccountAddition in Twitter 6.3

Tests account addition process

File

tests/core_oauth.test, line 32
Functional tests for the twitter module using OAuth.

Class

TwitterOAuthTest
@file Functional tests for the twitter module using OAuth.

Code

public function testAccountAddition() {

  // Create user
  $this->user = $this
    ->drupalCreateUser(array(
    'add twitter accounts',
    'import own tweets',
  ));
  $this
    ->drupalLogin($this->user);
  $result = $this
    ->drupalGet(twitter_mock_url('test'));
  debug($result);

  // Add a Twitter account
  // Load tweets
  // Delete the Twitter account
}