Skip to content

Commit

Permalink
Fixed composer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Parker committed Oct 3, 2016
1 parent 13a11d1 commit 5442b3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions composer.json
Expand Up @@ -15,11 +15,16 @@
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
"phpunit/phpunit": "^4.8"
},
"autoload": {
"psr-0": {
"Liten": "."
"psr-4": {
"Liten\\": "Liten"
}
},
"autoload-dev": {
"psr-4": {
"Liten\\Tests\\": "tests"
}
},
"minimum-stability": "stable"
Expand Down
4 changes: 2 additions & 2 deletions tests/LitenTest.php
@@ -1,13 +1,13 @@
<?php namespace Liten\Tests;

use \Liten\Liten;
use Liten\Liten;

class LitenTest extends \PHPUnit_Framework_TestCase
{

public function testMapRouting()
{
$app = \Liten\Liten();
$app = Liten();

$app->get('/foo/', function () {
return 'get foo';
Expand Down

0 comments on commit 5442b3d

Please sign in to comment.