Skip to content

Commit

Permalink
//NOSONAR
Browse files Browse the repository at this point in the history
  • Loading branch information
fakoua committed Jan 6, 2024
1 parent 6f6c06b commit 9e67db5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/soap_client_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Deno.test("should make a successful HTTP POST request with valid SOAP data and r
const soap = { test: 1 };
const soapClient = new SoapClient({
username: "username",
password: "password",
password: "password", //NOSONAR
}, "example.com");
const response = await soapClient.httpRequest(JSON.stringify(soap));
assertStringIncludes(response.body, "valid response");
Expand All @@ -63,7 +63,7 @@ Deno.test("should make a successful HTTP POST request with 200 Response", async
const soap = { test: 1 };
const soapClient = new SoapClient({
username: "username",
password: "password",
password: "password", //NOSONAR
}, "example.com");
const response = await soapClient.httpRequest(JSON.stringify(soap));
assertEquals(response.status, 200);
Expand All @@ -74,7 +74,7 @@ Deno.test("should make a successful HTTP POST request unauthorized response", as
const soap = { test: 2 };
const soapClient = new SoapClient({
username: "username1",
password: "password1",
password: "password1", //NOSONAR
}, "example.com");
const response = await soapClient.httpRequest(JSON.stringify(soap));
assertEquals(response.status, 401);
Expand Down
2 changes: 1 addition & 1 deletion src/winrm_context_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Deno.test("Should run a command", async () => {

//Action
const context = new WinRMContext(
{ username: "test", password: "test" },
{ username: "test", password: "test" }, //NOSONAR
"example.com",
);

Expand Down

0 comments on commit 9e67db5

Please sign in to comment.