From 0485a1407e6ce1d9ef65d76c652e4557b22f2f96 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 3 Feb 2021 20:20:00 +0530 Subject: [PATCH] fix tests for imports from openzepplin --- apps/remix-ide-e2e/src/tests/debugger.test.ts | 2 +- apps/remix-ide-e2e/src/tests/solidityImport.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/debugger.test.ts b/apps/remix-ide-e2e/src/tests/debugger.test.ts index 9e3b84eea3..3bfb2cf99a 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.test.ts +++ b/apps/remix-ide-e2e/src/tests/debugger.test.ts @@ -92,7 +92,7 @@ module.exports = { .waitForElementVisible('#stepdetail') .goToVMTraceStep(10) .getEditorValue((content) => { - browser.assert.ok(content.indexOf(`constructor (string memory name_, string memory symbol_) public { + browser.assert.ok(content.indexOf(`constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; diff --git a/apps/remix-ide-e2e/src/tests/solidityImport.test.ts b/apps/remix-ide-e2e/src/tests/solidityImport.test.ts index a34e974f50..68f284f470 100644 --- a/apps/remix-ide-e2e/src/tests/solidityImport.test.ts +++ b/apps/remix-ide-e2e/src/tests/solidityImport.test.ts @@ -34,7 +34,7 @@ module.exports = { .setSolidityCompilerVersion('soljson-v0.6.2+commit.bacdbe57.js') // open-zeppelin moved to pragma ^0.6.0 (master branch) .addFile('Untitled4.sol', sources[3]['browser/Untitled4.sol']) .clickLaunchIcon('fileExplorers') - .verifyContracts(['test7', 'ERC20', 'SafeMath'], {wait: 10000}) + .verifyContracts(['test7', 'ERC20'], {wait: 10000}) }, 'Test Github Import - from other branch': function (browser: NightwatchBrowser) {