Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Write functional tests for checking whether the created routes exist or not and checking forms values whether they are saved correctly or not.
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff.txt | 1.82 KB | ankitjain28may |
#6 | tests-2977377-6.patch | 7.61 KB | ankitjain28may |
#3 | Screenshot from 2018-06-06 16-42-50.png | 269.87 KB | ankitjain28may |
#2 | tests-2977377-2.patch | 7.59 KB | ankitjain28may |
Comments
Comment #2
ankitjain28may CreditAttribution: ankitjain28may as a volunteer and at Google Summer of Code commentedAdded tests for the verification of routes with and without admin permissions as well as check the affiliates product form by submitting data as well as check the edit and delete form too.
Please review.
Comment #3
ankitjain28may CreditAttribution: ankitjain28may as a volunteer and at Google Summer of Code commentedAdded image for the same.
Comment #4
borisson_This looks great! Awesome work already. I have some nits to pick, but otherwise this is good to go imho.
Should be
{@inheritdoc}
Should contain the
public
keyword, so that ispublic function
.Awesome, that is a nice way to see if the links exist. ++
Let's go to the delete page again before going deleting the product. That way we can add new things in the list of tabs without having issues in this place.
Should be only one line.
Comment #5
ankitjain28may CreditAttribution: ankitjain28may as a volunteer and at Google Summer of Code commented@borisson_ Thanks, I am making the changes.
Comment #6
ankitjain28may CreditAttribution: ankitjain28may as a volunteer and at Google Summer of Code commentedMade changes as suggested, Please review.
Comment #7
ankitjain28may CreditAttribution: ankitjain28may as a volunteer and at Google Summer of Code commentedComment #8
borisson_Awesome, great work.
Comment #10
dbjpanda CreditAttribution: dbjpanda commented