Skip to content

Latest commit

 

History

History
135 lines (74 loc) · 3.51 KB

CHANGELOG-3.5.md

File metadata and controls

135 lines (74 loc) · 3.51 KB

Change for 3.5

This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench-core.

3.5.10

Released: 2018-03-13

Added

  • Added Orchestra\Testbench\Concerns\WithFactories::loadFactoriesUsing() helper to load factories before $this->app is available.

3.5.9

Released: 2017-02-20

Fixes

  • Fixes binding not overridden when trying to resolve providers and aliases.

3.5.8

Released: 2018-02-18

Added

  • Add create-sqlite-db command helper to assist using sqlite with Testbench.

Changes

  • Allow to use TestCase::loadLaravelMigrations() without adding any parameters to use default database connection.

Fixes

  • Fixes invalid reference to $overrides on Orchestra\Testbench\Concerns\CreatesApplication::resolveApplicationProviders().

3.5.7

Released: 2018-02-07

Added

  • Add Orchestra\Testbench\Concerns\Testing trait for generic testing setUp and tearDown helpers.

Changes

  • Moves Orchestra\Testbench\Traits to Orchestra\Testbench\Concerns for match Laravel coding style.

3.5.6

Released: 2018-01-06

Changes

  • Update Orchestra\Testbench\TestCase to match Illuminate\Foundation\Testing\TestCase.

3.5.5

Released: 2017-12-25

Changes

  • Update Laravel 5.5 skeleton.
  • Reduce hash computations by setting the default rounds to 4.

3.5.4

Released: 2017-10-08

Changes

  • Revert loading custom bootstrapper before bootstrapping service provider. This is to allow configuration properly be configured from service provider before initiating custom bootstrapper.

3.5.3

Released: 2017-10-07

Changes

  • Load bootstrapper from Orchestra\Testbench\Traits\CreateApplications::getPackageBootstrappers() before bootstrapping service providers.

3.5.2

Released: 2017-09-28

Changes

  • Add mockery expectations to the assertion count. (@scrubmx)

Fixes

  • Don't enable auto discovery for every package.

3.5.1

Released: 2017-09-05

Changes

  • Update Laravel skeleton and Orchestra\Testbench\Exceptions\Handler.
  • Add Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse to Orchestra\Testbench\Http\Kernel. (@kalfheim)
  • Allow to use Illuminate\Foundation\Testing\RefreshDatabase. (@BertvanHoekelen)

Fixes

  • Refresh named routes when declaring new routes from within a test method.

3.5.0

Released: 2017-08-30

Added

  • Add getPackageBootstrappers() method to load any bootstrap class specifically for a package.
  • Orchestra\Testbench\TestCase now preloads following traits:
    • Illuminate\Foundation\Testing\Concerns\InteractsWithSession.
    • Illuminate\Foundation\Testing\Concerns\InteractsWithExceptionHandling.

Changes

  • Update support for Laravel Framework v5.5.
  • Increase minimum PHP version to 7.0+ (tested with 7.0, 7.1 and 7.2).
  • Increase minimum PHPUnit to v6.0+.
  • Change skeleton folder from fixture to laravel.

Fixes

  • Refresh named routes when declaring new routes from within a test method.

Removed

  • Remove deprecated Orchestra\Testbench\ApplicationTestCase, use Orchestra\Testbench\TestCase.
  • Remove deprecated Orchestra\Testbench\Exceptions\ApplicationHandler, use Orchestra\Testbench\Exceptions\Handler.
  • Remove deprecated Orchestra\Testbench\Traits\ApplicationTrait, use Orchestra\Testbench\Traits\CreatesApplication.
  • Remove depreacted Orchestra\Testbench\TestCase::runLaravelDefaultMigrations() method, use loadLaravelMigrations().