Skip to content

Commit

Permalink
fix: updated the UploadSession model to implement IUploadSession from…
Browse files Browse the repository at this point in the history
… the core package.
  • Loading branch information
Andrew Omondi committed Sep 3, 2024
1 parent 3af197e commit a637159
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Extensions/UploadSession.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Microsoft.Graph.Models
{
public partial class UploadSession : Microsoft.Graph.IUploadSession
{
}
}


Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using Microsoft.Graph.Models;
using Xunit;

namespace Microsoft.Graph.DotnetCore.Test.Extensions;

public class UploadSessionTests
{
[Fact]
public void AddPublicEncryptionCertificate()
{
// arrange
var uploadSession = new UploadSession();

// act
Assert.IsAssignableFrom<IUploadSession>(uploadSession);
}
}

0 comments on commit a637159

Please sign in to comment.