Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit bb0f78c

Browse files
committed
Fix test
1 parent efd2e1a commit bb0f78c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

upload/tests/views/test_uploads.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def test_uploads_post_tokenless(db, mocker, mock_redis, private, branch, branch_
437437
amplitude_mock.assert_called_with(
438438
"Upload Sent",
439439
{
440-
"user_ownerid": commit.repository.author.ownerid,
440+
"user_ownerid": commit.author.ownerid,
441441
"ownerid": commit.repository.author.ownerid,
442442
"repoid": commit.repository.repoid,
443443
"commitid": commit.id,
@@ -603,7 +603,7 @@ def test_uploads_post_token_required_auth_check(
603603
amplitude_mock.assert_called_with(
604604
"Upload Sent",
605605
{
606-
"user_ownerid": commit.repository.author.ownerid,
606+
"user_ownerid": commit.author.ownerid,
607607
"ownerid": commit.repository.author.ownerid,
608608
"repoid": commit.repository.repoid,
609609
"commitid": commit.id,
@@ -750,7 +750,7 @@ def test_uploads_post_github_oidc_auth(
750750
amplitude_mock.assert_called_with(
751751
"Upload Sent",
752752
{
753-
"user_ownerid": commit.repository.author.ownerid,
753+
"user_ownerid": commit.author.ownerid,
754754
"ownerid": commit.repository.author.ownerid,
755755
"repoid": commit.repository.repoid,
756756
"commitid": commit.id,

0 commit comments

Comments
 (0)