Skip to content

Commit c157324

Browse files
committed
Dump tests/bootstrap.php
1 parent 6b87b7d commit c157324

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"Jenssegers\\Eloquent": "src/"
2828
}
2929
},
30+
"autoload-dev": {
31+
"classmap": [
32+
"tests/TestCase.php",
33+
"tests/models",
34+
"tests/seeds"
35+
]
36+
},
3037
"suggest": {
3138
"jenssegers/mongodb-session": "Add MongoDB session support to Laravel-MongoDB",
3239
"jenssegers/mongodb-sentry": "Add Sentry support to Laravel-MongoDB"

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
33
backupStaticAttributes="false"
4-
bootstrap="tests/bootstrap.php"
4+
bootstrap="vendor/autoload.php"
55
colors="true"
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"

src/Jenssegers/Mongodb/Auth/PasswordResetServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ protected function registerTokenRepository()
1414
$this->app->singleton('auth.password.tokens', function($app)
1515
{
1616
$connection = $app['db']->connection();
17+
1718
// The database token repository is an implementation of the token repository
1819
// interface, and is responsible for the actual storing of auth tokens and
1920
// their e-mail addresses. We will inject this table and hash key to it.
2021
$table = $app['config']['auth.password.table'];
2122
$key = $app['config']['app.key'];
2223
$expire = $app['config']->get('auth.password.expire', 60);
24+
2325
return new DbRepository($connection, $table, $key, $expire);
2426
});
2527
}

tests/bootstrap.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)