public function EventTest::testWithStringValue in Googalytics - Google Analytics 8
Test with a string event value.
@expectedException \InvalidArgumentException
@expectedExceptionMessage Event value must be a positive integer
File
- tests/
src/ Unit/ AnalyticsCommand/ EventTest.php, line 112
Class
- EventTest
- @coversDefaultClass \Drupal\ga\AnalyticsCommand\Event @group ga
Namespace
Drupal\Tests\ga\Unit\AnalyticsCommandCode
public function testWithStringValue() {
$command = new Event('category', 'action', NULL, '1');
}