Skip to content

Commit

Permalink
Test code fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
serbanghita committed Jan 17, 2013
1 parent 3ab7c84 commit 20b5447
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions tests/BasicsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ public function testClassExists(){

}

/**
* @depends testClassExists()
*/
public function testBasicMethods(){

$this->assertNotEmpty( $this->detect->getScriptVersion() );
Expand Down
2 changes: 1 addition & 1 deletion tests/VendorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function testisMobileIsTablet(){
foreach($deviceArr[$userAgent] as $condition => $assert){


$this->assertTrue( $this->detect->$condition === $assert, $userAgent);
$this->assertTrue( $this->detect->$condition() === $assert, $userAgent);


}
Expand Down

0 comments on commit 20b5447

Please sign in to comment.