Skip to content

Commit

Permalink
Fixing up tests bootstrapping.
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lewis <[email protected]>
  • Loading branch information
jasonlewis committed Apr 20, 2014
1 parent 9524214 commit 8336d9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"autoload": {
"psr-4": {
"Dingo\\OAuth2\\": "src"
},
"files": [
"tests/stubs.php"
]
}
},
"minimum-stability": "stable"
}
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
Expand Down
5 changes: 5 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

require_once __DIR__.'/../vendor/autoload.php';

require_once __DIR__.'/stubs.php';

0 comments on commit 8336d9b

Please sign in to comment.