DrupalDriver icon indicating copy to clipboard operation
DrupalDriver copied to clipboard

Fixed php warning on exception

Open marcelovani opened this issue 6 years ago • 0 comments

I am getting this warning when creating terms for vocabularies that don't exist.

Warning: sprintf(): Too few arguments in vendor/drupal/drupal-driver/src/Drupal/Driver/Cores/Drupal7.php line 319

To replicate, use this:

Given "vocabname" terms:

And run the test.

Current behaviour, as above.

Expected behaviour: Show the name of the invalid vocabulary name. i.e. No "locations" vocabulary found.

marcelovani avatar Jan 10 '20 17:01 marcelovani