forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: add register intent prop for login segement call (opene…
…dx#34891)" (openedx#35021) This reverts commit a2aa6bd.
- Loading branch information
1 parent
2adee01
commit 5e3181c
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1041,7 +1041,6 @@ class LoginSessionViewTest(ApiTestCase, OpenEdxEventsTestMixin): | |
USERNAME = "bob" | ||
EMAIL = "[email protected]" | ||
PASSWORD = "password" | ||
REGISTER_INTENT = 'true' | ||
|
||
@classmethod | ||
def setUpClass(cls): | ||
|
@@ -1118,7 +1117,6 @@ def test_login(self, include_analytics, mock_segment): | |
data = { | ||
"email": self.EMAIL, | ||
"password": self.PASSWORD, | ||
"register_intent": self.REGISTER_INTENT, | ||
} | ||
if include_analytics: | ||
track_label = "edX/DemoX/Fall" | ||
|
@@ -1147,7 +1145,7 @@ def test_login(self, include_analytics, mock_segment): | |
mock_segment.track.assert_called_once_with( | ||
expected_user_id, | ||
'edx.bi.user.account.authenticated', | ||
{'category': 'conversion', 'provider': None, 'label': track_label, 'register_intent': True} | ||
{'category': 'conversion', 'provider': None, 'label': track_label} | ||
) | ||
|
||
def test_login_with_username(self): | ||
|