Méthode |
Description |
|
testSlugDoesChangeWhenEmptiedManually ( ) |
Test that the slug is regenerated if the field is emptied manually. |
|
testSlugDoesChangeWithOnUpdate ( ) |
Test that the slug is regenerated if onUpdate is true. |
|
testSlugDoesNotChangeIfSourceDoesNotChange ( ) |
Test that the slug is not regenerated if onUpdate is true
but the source fields didn't change. |
|
testSlugDoesNotChangeIfSourceDoesNotChangeMultiple ( ) |
Test that the slug is not regenerated if onUpdate is true
but the source fields didn't change, even with multiple
increments of the same slug. |
|
testSlugDoesntChangeWithoutOnUpdate ( ) |
Test that the slug isn't regenerated if onUpdate is false. |
|