We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 254d653 commit d45b233Copy full SHA for d45b233
tests/FilterTest.php
@@ -52,6 +52,19 @@ public function testUserIdIncrements(): void
52
$this->seeInDatabase('visits', ['views' => 2]);
53
}
54
55
+ /**
56
+ * @runInSeparateProcess
57
+ */
58
+ public function testSessionIdIncrements(): void
59
+ {
60
+ config('Visits')->trackingMethod = 'session_id';
61
+ session_id('abc123');
62
+ $this->call();
63
64
+
65
+ $this->seeInDatabase('visits', ['views' => 2]);
66
+ }
67
68
public function testBeforeRecords(): void
69
{
70
$this->call('before');
0 commit comments