protected function SmsFrameworkTestTrait::resetTestMessageReports in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Functional/SmsFrameworkTestTrait.php \Drupal\Tests\sms\Functional\SmsFrameworkTestTrait::resetTestMessageReports()
- 2.1.x tests/src/Functional/SmsFrameworkTestTrait.php \Drupal\Tests\sms\Functional\SmsFrameworkTestTrait::resetTestMessageReports()
Resets the SMS reports stored in memory by 'Memory' gateway.
File
- tests/
src/ Functional/ SmsFrameworkTestTrait.php, line 199
Class
- SmsFrameworkTestTrait
- Shared SMS Framework helpers for kernel and web tests.
Namespace
Drupal\Tests\sms\FunctionalCode
protected function resetTestMessageReports() {
\Drupal::state()
->set('sms_test_gateway.memory.report', []);
}