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

Issue 229 #272

Merged
merged 22 commits into from
Apr 9, 2019
Merged

Issue 229 #272

merged 22 commits into from
Apr 9, 2019

Conversation

boehsermoe
Copy link
Member

Unit test for exception handling while proxy data sync. #229

@coveralls
Copy link

coveralls commented Mar 5, 2019

Coverage Status

Coverage increased (+0.2%) to 16.646% when pulling f3a2b50 on boehsermoe:issue-229 into 54c6527 on luyadev:master.

Copy link
Member

@nadar nadar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

src/proxy/ClientTable.php Outdated Show resolved Hide resolved
src/proxy/ClientTable.php Outdated Show resolved Hide resolved
tests/admin/proxy/ClientTableTest.php Outdated Show resolved Hide resolved
@nadar
Copy link
Member

nadar commented Mar 26, 2019

The unit tests seems to have another exception as expected:

Failed asserting that exception of type "yii\base\ErrorException" matches expected exception "yii\db\Exception". Message was: "Undefined index: rows" at

@nadar nadar self-requested a review March 26, 2019 08:52
@nadar
Copy link
Member

nadar commented Mar 28, 2019

It seems there is still a problem regarding this PR:

Failed asserting that exception of type "yii\base\ErrorException" matches expected exception "yii\db\Exception". Message was: "Array to string conversion" at
/home/travis/build/luyadev/luya-module-admin/src/proxy/ClientTable.php:126

(the other failures are a problem from the master)

@boehsermoe
Copy link
Member Author

I think we finally have it 😓

@nadar
Copy link
Member

nadar commented Apr 9, 2019

thanks!

@nadar nadar merged commit a9ca2a4 into luyadev:master Apr 9, 2019
@boehsermoe boehsermoe deleted the issue-229 branch April 10, 2019 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants