Commit 7a1c9962 authored by catch's avatar catch
Browse files

Issue #3221966 by guilhermevp, anweshasinha, Berdir:...

Issue #3221966 by guilhermevp, anweshasinha, Berdir: PathAliasTestTrait::assertPathAliasExists message argument default value is incompatible with assertTrue()
parent 0e9bec38
......@@ -69,7 +69,7 @@ protected function loadPathAliasByConditions($conditions) {
* @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 @@ protected function assertPathAliasExists($alias, $langcode = NULL, $path = NULL,
* @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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment