Skip to content

Commit

Permalink
Fix login events test
Browse files Browse the repository at this point in the history
  • Loading branch information
estringana committed Feb 7, 2024
1 parent 74d581b commit 25c63e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Integrations/Laravel/V8_x/LoginEventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ public function testLoggedInCalls()
$this->call(GetSpec::create('Behind auth', '/behind_auth'));
});

$meta = $traces[0][0]['meta'];
$events = AppsecStatus::getInstance()->getEvents();
$this->assertEquals(0, count($events)); //Auth does not generate appsec events
$meta = $traces[0][0]['meta'];
$this->assertEquals($id, $meta['usr.id']);
$this->assertEquals($name, $meta['usr.name']);
$this->assertEquals($email, $meta['usr.email']);
Expand Down

0 comments on commit 25c63e1

Please sign in to comment.