mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-15 01:28:34 -05:00
bugfixes/enhancements
prevent users from trying to set the console's level to owner fix issue with setting multiple owners update/improve unit tests
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
using SharedLibraryCore.Configuration;
|
||||
using SharedLibraryCore.Interfaces;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ApplicationTests.Mocks
|
||||
{
|
||||
class ApplicationConfigurationHandlerMock : IConfigurationHandler<ApplicationConfiguration>
|
||||
{
|
||||
private readonly ApplicationConfiguration _appConfig;
|
||||
|
||||
public ApplicationConfigurationHandlerMock(ApplicationConfiguration configuration)
|
||||
{
|
||||
_appConfig = configuration;
|
||||
}
|
||||
|
||||
public string FileName => "";
|
||||
|
||||
public void Build()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ApplicationConfiguration Configuration() => _appConfig;
|
||||
|
||||
public Task Save()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void Set(ApplicationConfiguration config)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user