Instead invalid opcode 2 tests return VM Exception while processing transaction: revert
1) Contract: keysManager [all features] method addInitialKey is restricted for non-admin:
AssertionError: expected promise to be rejected with an error including 'invalid opcode' but got 'VM Exception while processing transaction: revert'
+ expected - actual
-VM Exception while processing transaction: revert
+invalid opcode
2) Contract: owned [all features] method protected by onlyOwner is restricted for non owner:
AssertionError: expected promise to be rejected with an error including 'invalid opcode' but got 'VM Exception while processing transaction: revert'
+ expected - actual
-VM Exception while processing transaction: revert
+invalid opcode
Instead
invalid opcode
2 tests returnVM Exception while processing transaction: revert