Skip to content

Releases: orchestral/testbench-core

v3.5.4

08 Oct 08:00
Compare
Choose a tag to compare

Changes

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

v3.4.4

08 Oct 07:59
Compare
Choose a tag to compare

Changes

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

v3.5.3

07 Oct 12:14
Compare
Choose a tag to compare

Changes

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

v3.4.3

07 Oct 12:07
Compare
Choose a tag to compare

Added

  • Add Orchestra\Testbench\Traits\CreateApplications::getPackageBootstrappers() and refactor loading methods to Orchestra\Testbench\Traits\CreateApplications::resolveApplicationBootstrappers().

v3.5.2

28 Sep 15:27
Compare
Choose a tag to compare

Changes

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

Fixes

  • Don't enable auto discovery for every package.

v3.4.2

18 Sep 23:04
Compare
Choose a tag to compare

Fixes

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

v3.5.1

05 Sep 08:33
Compare
Choose a tag to compare

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)

v3.5.0

30 Aug 11:38
Compare
Choose a tag to compare

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().

v3.4.1

19 Aug 03:11
Compare
Choose a tag to compare

Added

  • Add Orchestra\Testbench\Traits\CreateApplication::overrideApplicationBindings().
  • Add Orchestra\Testbench\Traits\CreateApplication::overrideApplicationAliases().
  • Add Orchestra\Testbench\Traits\CreateApplication::overrideApplicationProviders().
  • Add sqlsrv database configuration template.

v3.4.0

07 Jun 00:53
Compare
Choose a tag to compare

Added

  • Move code from orchestra/testbench repository.

Changes

  • Update support for Laravel Framework v5.4.