-
Notifications
You must be signed in to change notification settings - Fork 34
Add integration test for search by catalog in user collection #1107
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
Add integration test for search by catalog in user collection #1107
Conversation
The test cases which I have added works. |
4e2cf5e
to
f7ead33
Compare
Create the WIP to discuss the issue. Thanks |
Generated by 🚫 Danger |
f7ead33
to
e6f7d2c
Compare
I see that the tests don't fail on Travis CI, so it must be something related to your environment. If you provide more details, perhaps, I can help with debugging. |
@mukeshk Thank you for the PR! I'll review it during the day! |
e6f7d2c
to
1515fc8
Compare
I had the application running in one console. There were some JDBC exceptions for unique constraints. |
Can you review ? |
Then, I'd say, that it works as designed. Some cases modify database and they can't be run more than once on the same instance of database. When we restart the app, the database is also get recreated. |
src/main/resources/liquibase/version/0.4.1/2019-08-04--test_search_in_my_collection.xml
Outdated
Show resolved
Hide resolved
c08115e
to
53fde6b
Compare
comments addressed. |
src/main/resources/liquibase/version/0.4.1/2019-08-04--test_search_in_my_collection.xml
Outdated
Show resolved
Hide resolved
src/main/resources/liquibase/version/0.4.1/2019-08-04--test_search_in_my_collection.xml
Outdated
Show resolved
Hide resolved
53fde6b
to
926e2bc
Compare
src/main/resources/liquibase/version/0.4.1/2019-08-04--test_search_in_my_collection.xml
Outdated
Show resolved
Hide resolved
src/main/resources/liquibase/version/0.4.1/2019-08-04--test_search_in_my_collection.xml
Outdated
Show resolved
Hide resolved
src/main/resources/liquibase/version/0.4.1/2019-08-04--test_search_in_my_collection.xml
Outdated
Show resolved
Hide resolved
5b8dde4
to
d2db7a8
Compare
address the comments |
src/main/resources/liquibase/version/0.4.1/2019-08-06--test_user_with_series_in_collection.xml
Outdated
Show resolved
Hide resolved
src/main/resources/liquibase/version/0.4.1/2019-08-06--test_user_with_series_in_collection.xml
Outdated
Show resolved
Hide resolved
Could you, please, modify commit message to be:
|
c55966e
to
bc7f4bf
Compare
Could you also remove the following comment?
|
…in user's collection. Part of php-coder#673 Fix php-coder#1097
bc7f4bf
to
1133026
Compare
removed the todo |
It was the 8th issue that you closed! Thank you! Awesome! 👏 |
</insert> | ||
|
||
<insert tableName="collections_series"> | ||
<column name="collection_id" valueComputed="(SELECT id FROM collections WHERE slug='seriesowner')" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a tiny formatting issue that I fixed in 76e636e Ideally, it's better to follow a similar approach in formatting everywhere, especially within a single file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mukeshk ^^^ JFYI
P.S. By the way, don't forget to remove merged branches -- https://github.com/php-coder/mystamps/wiki/after_merge_steps#remove-merged-branch |
Addressed to #1097