Skip to content

Commit

Permalink
Minor code comment fix [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Jun 7, 2012
1 parent 1cf8fe3 commit 736d1e5
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -133,7 +133,7 @@ public function testParseXMLStatusesPublic() {

public function testParseError() {
$to = new TwitterOAuth('', '', '', '');
//Public statuses
//Test error XML with <hash> root
$twitter_data = $to->http(
'https://twitter.com/statuses/user_timeline/ginatrasdfasdfasdapani.xml?count=100');

Expand All @@ -146,7 +146,7 @@ public function testParseError() {
$this->assertEqual($results['error'], 'Not found');
$this->assertEqual($results['request'], '/statuses/user_timeline/ginatrasdfasdfasdapani.xml?count=100');

//Public statuses
//Test error XML with <errors> root
$twitter_data = $to->http(
'https://twitter.com/statuses/user_timeline/ginatrasdfasdfasdapani_noerrorhash.xml?count=100');

Expand All @@ -158,6 +158,5 @@ public function testParseError() {

$this->assertEqual($results['error'], 'Sorry, that page does not exist');
$this->assertEqual($results['request'], '');

}
}

0 comments on commit 736d1e5

Please sign in to comment.