Skip to content

Commit

Permalink
add correct mail spool and coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Ragas committed Aug 23, 2023
1 parent 85a16f8 commit f896530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public static function create(ContainerInterface $container, array $configuratio
* The token service.
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* The language manager.
* @param \Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory
* The factory for the temp store object.
*/
public function __construct(
array $configuration,
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/features/bootstrap/EmailContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getEmailContent($file) {
* The path where the spooled emails are stored.
*/
protected function getSpoolDir() {
$path = \Drupal::service('extension.list.profile')->getPath('social') . '/tests/behat/mail-spool';
$path = \Drupal::service('extension.list.profile')->getPath('social') . '/tests/behat/features/mailer-spool';
if (!file_exists($path)) {
mkdir($path, 0777, true);
}
Expand Down

0 comments on commit f896530

Please sign in to comment.