Issue #3221966 by guilhermevp, anweshasinha, Berdir: PathAliasTestTrait::assertPathAliasExists message argument default value is incompatible with assertTrue()
parent
0e9bec38ca
commit
7a1c99623a
|
@ -69,7 +69,7 @@ trait PathAliasTestTrait {
|
|||
* @param string|null $message
|
||||
* (optional) A message to display with the assertion.
|
||||
*/
|
||||
protected function assertPathAliasExists($alias, $langcode = NULL, $path = NULL, $message = NULL) {
|
||||
protected function assertPathAliasExists($alias, $langcode = NULL, $path = NULL, $message = '') {
|
||||
$query = \Drupal::entityTypeManager()
|
||||
->getStorage('path_alias')
|
||||
->getQuery()
|
||||
|
@ -98,7 +98,7 @@ trait PathAliasTestTrait {
|
|||
* @param string|null $message
|
||||
* (optional) A message to display with the assertion.
|
||||
*/
|
||||
protected function assertPathAliasNotExists($alias, $langcode = NULL, $path = NULL, $message = NULL) {
|
||||
protected function assertPathAliasNotExists($alias, $langcode = NULL, $path = NULL, $message = '') {
|
||||
$query = \Drupal::entityTypeManager()
|
||||
->getStorage('path_alias')
|
||||
->getQuery()
|
||||
|
|
Loading…
Reference in New Issue