Releases: wrk-flow/larastrict
Releases · wrk-flow/larastrict
v0.0.72
v0.0.71
v0.0.70
v0.0.69
v0.0.68
v0.0.67
v0.0.66
v0.0.65
v0.0.64
💥 BREAKING CHANGES
-
due to
780f59a
- ResourceTestCase $object supports mixed type or closure (commit by @pionl):Update createResource typehint to mixed.
-
due to
e3bf3ec
- Add support for setting container to collection of resources (commit by @pionl):If you pass container and do not use JsonResource exception will be thrown.
-
due to
20b1ff4
- Move mockery to ModelResourceTestCase (commit by @pionl):ResourceTestCase does not include Mockery. Use this if needed
use MockeryPHPUnitIntegration; use MockeryTestCaseSetUp; protected function mockeryTestSetUp(): void { $this->mockModels(); } protected function mockeryTestTearDown(): void { }
-
due to
99006bf
- PHPStorm run for ResourceTestCase with single data entry test (commit by @pionl):to allow running single data test in PHPStorm, test function was removed.
To run tests add this method when extending the TestCase./** * @param \Closure(static):void $assert * @dataProvider data */ public function test(\Closure $assert): void { $assert($this); }
✨ New Features
3e7b7e9
- Http: Update MessageResource to use own JsonResource (commit by @pionl)780f59a
- Testing: ResourceTestCase $object supports mixed type or closure (commit by @pionl)e3bf3ec
- Http: Add support for setting container to collection of resources (commit by @pionl)20b1ff4
- Testing: Move mockery to ModelResourceTestCase (commit by @pionl)34af3f0
- Http: Add resourceArray to JsonResource/ResourceTestCase (commit by @pionl)