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.
In PHPUnit we can mock abstract classes and any methods we need, and just test the methods implemented on the abstract class.
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff-2088147-5.txt | 701 bytes | damiankloip |
#5 | 2088147-5.patch | 2.24 KB | damiankloip |
#1 | 2088147.patch | 2.17 KB | damiankloip |
Comments
Comment #1
damiankloip CreditAttribution: damiankloip commentedAnd a patch.
Comment #3
damiankloip CreditAttribution: damiankloip commented#1: 2088147.patch queued for re-testing.
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedand add @group Lock as well too?
lets add the one liner doc here ;)
Comment #5
damiankloip CreditAttribution: damiankloip commentedGreat, thank you!
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedComment #8
damiankloip CreditAttribution: damiankloip commented#5: 2088147-5.patch queued for re-testing.
Comment #9
ParisLiakos CreditAttribution: ParisLiakos commentedand back
Comment #10
catchCommitted/pushed to 8.x, thanks!