You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had problems using via() in my project which led me to your tests. The test for via() appeared to be working until I removed author_id attribute from the database.
Then I found an easier way to prove that the test is a bogus. I enabled query logging by removing your comment in connect.inc.php ($software->debug = true;).
This is the result:
php -f run-tests.php
12-via.phpt:7:SELECT * FROM author;
12-via.phpt:8:SELECT * FROM application WHERE (application.author_id IN (11, 12));
0.012 s, 974 KiB
Please notice that although the test code asks for maintainer_id to be used, author_id is used instead.
I've had problems using via() in my project which led me to your tests. The test for via() appeared to be working until I removed author_id attribute from the database.
Then I found an easier way to prove that the test is a bogus. I enabled query logging by removing your comment in connect.inc.php ($software->debug = true;).
This is the result:
Please notice that although the test code asks for maintainer_id to be used, author_id is used instead.
Here's a very ugly workaround for the via() bug:
The text was updated successfully, but these errors were encountered: