From 86e105a11087a91dc5a863ed82a9a185bdb2716a Mon Sep 17 00:00:00 2001 From: crynobone Date: Fri, 4 Mar 2016 09:20:59 +0800 Subject: [PATCH] v3.2.3 * Add new `Orchestra\Testbench\TestCase::setUpTraits()` method. * Add support to `Illuminate\Foundation\Testing\Concerns\InteractsWithAuthentication` by default. * Update named route look-up table when `$app` is bootstrapped. Signed-off-by: crynobone --- docs/changes.md | 4 ++++ src/TestCase.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/changes.md b/docs/changes.md index 5a6cd0f..d2d7a9b 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -5,6 +5,10 @@ title: Testbench Change Log ## Version 3.2 {#v3-2} +* Add new `Orchestra\Testbench\TestCase::setUpTraits()` method. +* Add support to `Illuminate\Foundation\Testing\Concerns\InteractsWithAuthentication` by default. +* Update named route look-up table when `$app` is bootstrapped. + ### v3.2.2 {#v3-2-2} * Fixes `Orchestra\Testbench\ApplicationTestCase` filename typo. ([@rydurham](https://github.com/rydurham)) diff --git a/src/TestCase.php b/src/TestCase.php index 8a87155..da93365 100644 --- a/src/TestCase.php +++ b/src/TestCase.php @@ -70,7 +70,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase implements TestCaseC * * @return void */ - protected function setUp() + public function setUp() { if (! $this->app) { $this->refreshApplication(); @@ -128,7 +128,7 @@ protected function setUpTraits() * * @return void */ - protected function tearDown() + public function tearDown() { if (class_exists('Mockery')) { Mockery::close();