Skip to content

Commit

Permalink
Fix function
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekMichali committed Oct 7, 2024
1 parent 4ddb561 commit 709ee21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/e2e/skr/skr-binding-test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('SKR Binding test', function() {
it('Should not allow creation of SKR binding when expiration seconds value is below the minimum value', async function() {
const expirationSeconds = 1;
try {
await keb.createBinding2(options.instanceID, true, expirationSeconds);
await keb.createBinding(options.instanceID, true, expirationSeconds);
expect.fail("The call was expected to fail but it passed");
} catch (err) {
if (err.response) {
Expand All @@ -82,7 +82,7 @@ describe('SKR Binding test', function() {
it('Should not allow creation of SKR binding when expiration seconds value is over the maximum value', async function() {
const expirationSeconds = 999999999;
try {
await keb.createBinding2(options.instanceID, true, expirationSeconds);
await keb.createBinding(options.instanceID, true, expirationSeconds);
expect.fail("The call was expected to fail but it passed");
} catch (err) {
if (err.response) {
Expand Down

0 comments on commit 709ee21

Please sign in to comment.