Needs review
Project:
Registration codes
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Aug 2021 at 09:36 UTC
Updated:
28 Oct 2024 at 10:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
v.dovhaliuk commentedComment #3
tr commentedComment #4
v.dovhaliuk commentedComment #5
v.dovhaliuk commentedComment #6
v.dovhaliuk commentedComment #7
v.dovhaliuk commentedUpdated patch
Comment #8
tr commentedComment #9
vacho commentedThis patch is for branch 8.x-1.x
Please review.
Comment #10
vacho commentedPlease forgot that patch #9 it is bad and for another issue.
Please review this patch. it is the right.
Comment #11
tr commentedComment #12
artemboikoAdded checking of maximum usage to validation function in operation form.
Comment #13
artemboikoWorked more with that, found mistake in logic and fixed it. Also, I have added operation for removing all remaining uses. It will be very usefull for users. And refactored a little bit. Pls review.
Comment #15
tr commentedComment #16
artemboikoHi @TR, do you agree that functional test is enough here?
Because firstly need make this than add unit tests, I guess...
https://www.drupal.org/project/regcode/issues/3156063
Comment #17
tr commentedYes, Kernel or Functional tests would be the first step I think. Even a minimal test is better than no test, and that will let us do some refactoring (like adding #3156063: Convert regcode to a content entity) while ensuring that we don't break the tested functionality. Unit tests aren't really important for this module, IMO. When we add #3156063: Convert regcode to a content entity, we won't need tests for most of the entity functionality because that is covered by core tests.
Comment #18
tr commentedComment #19
tr commentedConverted #13 into a MR against the 2.0.x branch.
Still needs tests.
Comment #21
socialnicheguru commented