base API url handling only internal, closes #2

This commit is contained in:
Florian Förster 2025-04-03 08:45:30 +02:00
parent 068af2bdbd
commit 443893eadf
2 changed files with 6 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace dopt.DeltaBarth.Tests
{
private const string absPath = @"A:\Arbeitsaufgaben\Delta-Barth\cs-wrapper\dopt.DeltaBarth";
public TPlugin() : base(absPath) { }
public new JsonStructs.Credentials GetCredentials()
public new DataObjects.Credentials GetCredentials()
{
return base.GetCredentials();
}
@ -47,6 +47,10 @@ namespace dopt.DeltaBarth.Tests
{
return base.GetBaseApiUrl();
}
new public void SetzeBasisApiUrl(string basisApiUrl)
{
base.SetzeBasisApiUrl(basisApiUrl);
}
}
[TestClass]
public sealed class PluginTest

View File

@ -22,7 +22,7 @@ namespace dopt.DeltaBarth
SetzeBasisApiUrl(basisApiUrl);
SetzeNutzerdaten(nutzername, passwort, datenbank, mandant);
}
public void SetzeBasisApiUrl(string basisApiUrl)
protected void SetzeBasisApiUrl(string basisApiUrl)
{
AssertNotDisposed();
pyModManagement.set_base_url(basisApiUrl);