Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3ee1b67

Browse files
committedMar 10, 2025
Fix test again
1 parent 40d42e5 commit 3ee1b67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎upload/tests/views/test_bundle_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_upload_bundle_analysis_success(db, client, mocker, mock_redis):
110110
mock_amplitude.assert_called_with(
111111
"Upload Sent",
112112
{
113-
"user_ownerid": commit.author.ownerid,
113+
"user_ownerid": -1,
114114
"ownerid": commit.repository.author.ownerid,
115115
"repoid": commit.repository.repoid,
116116
"commitid": commit.id,

‎upload/tests/views/test_test_results.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_upload_test_results(db, client, mocker, mock_redis):
122122
mock_amplitude.assert_called_with(
123123
"Upload Sent",
124124
{
125-
"user_ownerid": commit.author.ownerid,
125+
"user_ownerid": -1,
126126
"ownerid": commit.repository.author.ownerid,
127127
"repoid": commit.repository.repoid,
128128
"commitid": commit.id,

0 commit comments

Comments
 (0)
Please sign in to comment.