Skip to content

Commit

Permalink
Rename SystemUserOwner
Browse files Browse the repository at this point in the history
  • Loading branch information
SandGrainOne committed Dec 6, 2024
1 parent 13d4d56 commit 2bf01d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Storage.Interface/Models/PlatformUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public class PlatformUser
/// <summary>
/// Gets or sets the organization number of the owner of the system user that triggered the event.
/// </summary>
[JsonProperty(PropertyName = "systemUserOwner")]
public string SystemUserOwner { get; set; }
[JsonProperty(PropertyName = "systemUserOwnerOrgNo")]
public string SystemUserOwnerOrgNo { get; set; }

/// <summary>
/// Gets or sets the name of the system user that triggered the event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public void MetadataWithoutShadowFields_ShouldBeFalse()

target.SystemUserId.Should().BeNull();
target.SystemUserName.Should().BeNull();
target.SystemUserOwner.Should().BeNull();
target.SystemUserOwnerOrgNo.Should().BeNull();
}

[Fact]
Expand All @@ -27,6 +27,6 @@ public void MetadataWithShadowFields_ShouldBeTrue()

target.SystemUserId.Should().Be(Guid.Parse("2280457B-0A79-49C5-AC14-09217705C9A1"));
target.SystemUserName.Should().Be("Vismalise");
target.SystemUserOwner.Should().Be("565433454");
target.SystemUserOwnerOrgNo.Should().Be("565433454");
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"systemUserId": "2280457B-0A79-49C5-AC14-09217705C9A1",
"systemUserOwner": "565433454",
"systemUserOwnerOrgNo": "565433454",
"systemUserName": "Vismalise",
"authenticationLevel": 3
}

0 comments on commit 2bf01d2

Please sign in to comment.