Skip to content

Commit

Permalink
Fix RouteTest duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lockhart committed Apr 5, 2014
1 parent de74092 commit 4906b77
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/RouteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,6 @@ public function testGetCallableAsClassLazyInitialize()
$this->assertTrue(LazyInitializeTestClass::$initialized);
}

public function testGetCallableAsClassLazyInitialize()
{
LazyInitializeTestClass::$initialized = false;

$route = new \Slim\Route('/foo', '\LazyInitializeTestClass:foo');
$this->assertFalse(LazyInitializeTestClass::$initialized);

$route->dispatch();
$this->assertTrue(LazyInitializeTestClass::$initialized);
}


public function testGetCallableAsStaticMethod()
{
$route = new \Slim\Route('/bar', '\Slim\Slim::getInstance');
Expand Down

0 comments on commit 4906b77

Please sign in to comment.