Skip to content

Commit

Permalink
test: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iadonkey committed Jul 27, 2024
1 parent 8181a32 commit ea73ad1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions TwinpackTests/TwinpackServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace TwinpackTests
[TestClass]
public class TwinpackServiceTest
{
static PackageServerCollection _packageServers;
static PackageServerMock _packageServer1;
static PackageServerMock _packageServer2;
static PackageServerMock _packageServerNotConnected;
static TwinpackService _twinpack;

[ClassInitialize]
public static void SetUp(TestContext context)
PackageServerCollection _packageServers;
PackageServerMock _packageServer1;
PackageServerMock _packageServer2;
PackageServerMock _packageServerNotConnected;
TwinpackService _twinpack;

[TestInitialize]
public void TestInitialize()
{
_packageServer1 = new PackageServerMock
{
Expand Down
1 change: 0 additions & 1 deletion TwinpackTests/mocks/PackageServerMock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public Task<Tuple<IEnumerable<PackageVersionGetResponse>, bool>> GetPackageVersi

public void InvalidateCache()
{
throw new NotImplementedException();
}

public Task<LoginPostResponse> LoginAsync(string username = null, string password = null, CancellationToken cancellationToken = default)
Expand Down

0 comments on commit ea73ad1

Please sign in to comment.