Open rafallyczkowski opened 7 years ago
Data persists when adding record through beforeAll() method.
describe('TestingModule', function() { using(['database transactions'], function() { beforeAll(function() { $this->str = factory(MyClass::class)->create(['type' => 'Event']); }); }); });
it works when setting up with beforeEach() though.
needs adjustments for Kahlan v3
Data persists when adding record through beforeAll() method.
it works when setting up with beforeEach() though.