Closed (fixed)
Project:
Media entity slideshow
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
2 Oct 2015 at 10:08 UTC
Updated:
22 Jan 2016 at 14:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sanja_m commentedWorking on this.
Comment #3
sanja_m commentedAdded ItemsCount constraint.
Comment #4
slashrsm commentedWe don't need to override constructor.
It would be nicer to have unit test for this.
Comment #5
sanja_m commented#4-1. and 2. fixed.
Comment #6
slashrsm commentedPHPUnit tests are usually located in module_root/tests/src and namespaced \Drupal\Tests\module_name\...
I think that we don't need data provider since there will always be just two options.
Leave an empty line at the beginning and end of the class definition.
Let's make argument optional and default it to NULL. This way it won't be needed to do empty string check any more.
Comment #7
sanja_m commented#6 - 1, 2, 3 and 4 fixed.
Comment #8
slashrsm commentedCommitted. Thank you!