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

Y24-190-3: Support Limber with an API v2 endpoint for PooledPlateCreations #4355

Merged

Conversation

sdjmchattie
Copy link
Contributor

Closes #4244

Changes proposed in this pull request

  • Add an endpoint for PooledPlateCreation.
  • Add tests to ensure it is functioning as required.

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code

@sdjmchattie sdjmchattie self-assigned this Sep 19, 2024
@sdjmchattie sdjmchattie marked this pull request as draft September 19, 2024 11:02
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.63%. Comparing base (ac84852) to head (c376ee8).

Additional details and impacted files
@@                 Coverage Diff                 @@
##           develop-Y24-190    #4355      +/-   ##
===================================================
- Coverage            87.66%   87.63%   -0.04%     
===================================================
  Files                 1389     1391       +2     
  Lines                29988    30011      +23     
===================================================
+ Hits                 26290    26301      +11     
- Misses                3698     3710      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sdjmchattie sdjmchattie marked this pull request as ready for review September 19, 2024 16:48
@@ -7,6 +7,7 @@ class PlateCreation < AssetCreation
# This is the child that is created from the parent. It cannot be assigned before validation.
belongs_to :parent, class_name: 'Plate'
attr_accessor :barcode
Copy link
Contributor

Choose a reason for hiding this comment

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

Can barcode be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't think it could as it seemed like it was tied into the same named attribute on another class, but I've just done so and all tests still pass. I did have to update a factory.

@sdjmchattie sdjmchattie merged commit 2ccb042 into develop-Y24-190 Sep 23, 2024
22 of 23 checks passed
@sdjmchattie sdjmchattie deleted the Y24-190-3-support-limber-with-pooled-plate-creations branch September 23, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants