Skip to content

ModelTestState change fixtures directory #153

@DenTray

Description

@DenTray

Model test state should works with the new fixtures directory: changes/{$tableName}/{$fixtureName}

Desired outcome:

next code:

//UserTest.php
self::$userState->assertChangesEqualsFixture('delete_profile.json');

should try to get fixture from the directory

> basepath('tests/fixtures/UserTest/changes/users/delete_profile.json')

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions