Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More readable broken fixture exception #14

Open
esler opened this issue Aug 10, 2020 · 0 comments
Open

More readable broken fixture exception #14

esler opened this issue Aug 10, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@esler
Copy link
Contributor

esler commented Aug 10, 2020

Currently we are getting errors which say nothing. Ideally file and line of a fixture should be mentioned in the exception.

Example

1) IW\User\Lookbook\SearchServiceTest::testBasicSearch
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user_id' in 'field list'

/iw/third/vendor/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:269
/iw/third/vendor/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:202
/iw/third/vendor/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:79
/iw/third/vendor/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:67
@esler esler added the enhancement New feature or request label Aug 10, 2020
@kambo-1st kambo-1st self-assigned this Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants