Skip to content

Commit 540a4b4

Browse files
author
Andrew Omondi
committed
fix: updated the UploadSession model to implement IUploadSession from the core package.
1 parent 7c5cfba commit 540a4b4

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace Microsoft.Graph.Beta.Models
2+
{
3+
public partial class UploadSession : Microsoft.Graph.IUploadSession
4+
{
5+
}
6+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using Microsoft.Graph.Beta.Models;
2+
using Xunit;
3+
4+
namespace Microsoft.Graph.DotnetCore.Test.Extensions;
5+
6+
public class UploadSessionTests
7+
{
8+
[Fact]
9+
public void AddPublicEncryptionCertificate()
10+
{
11+
// arrange
12+
var uploadSession = new UploadSession();
13+
14+
// act
15+
Assert.IsAssignableFrom<IUploadSession>(uploadSession);
16+
}
17+
}

0 commit comments

Comments
 (0)