Skip to content

Commit

Permalink
Return the used traits from setUpTraits (#19486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lidbetter authored and taylorotwell committed Jun 6, 2017
1 parent cb48cf5 commit 4586bb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Illuminate/Foundation/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function refreshApplication()
/**
* Boot the testing helper traits.
*
* @return void
* @return array
*/
protected function setUpTraits()
{
Expand All @@ -113,6 +113,8 @@ protected function setUpTraits()
if (isset($uses[WithoutEvents::class])) {
$this->disableEventsForAllTests();
}

return $uses;
}

/**
Expand Down

0 comments on commit 4586bb7

Please sign in to comment.