From 0e335192675edb08484e4474a9e0e8c0049d3b7f Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 11 Feb 2020 07:06:40 +0200 Subject: [PATCH] Fix for e2e tests --- tests/e2e/Services/Account/AccountBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index cf92dfe2a..b664b7a55 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -297,7 +297,7 @@ trait AccountBase $this->assertNotEmpty($response['body']); $this->assertCount(2, $response['body']); - $this->assertEquals('account.create', $response['body'][0]['event']); + $this->assertEquals('account.sessions.create', $response['body'][0]['event']); $this->assertEquals($response['body'][0]['ip'], filter_var($response['body'][0]['ip'], FILTER_VALIDATE_IP)); $this->assertIsNumeric($response['body'][0]['time']); @@ -322,7 +322,7 @@ trait AccountBase $this->assertEquals('--', $response['body'][0]['geo']['isoCode']); $this->assertEquals('Unknown', $response['body'][0]['geo']['country']); - $this->assertEquals('account.sessions.create', $response['body'][1]['event']); + $this->assertEquals('account.create', $response['body'][1]['event']); $this->assertEquals($response['body'][1]['ip'], filter_var($response['body'][0]['ip'], FILTER_VALIDATE_IP)); $this->assertIsNumeric($response['body'][1]['time']);