diff --git a/tests/mocha/connection_checker_test.js b/tests/mocha/connection_checker_test.js index f7aa33ba89..f353a2b77c 100644 --- a/tests/mocha/connection_checker_test.js +++ b/tests/mocha/connection_checker_test.js @@ -503,8 +503,9 @@ suite('Connection checker', function () { `), this.workspace, ); - [this.blockA, this.blockB, this.blockC] = - this.workspace.getAllBlocks(true); + this.blockA = this.workspace.getBlockById('A'); + this.blockB = this.workspace.getBlockById('B'); + this.blockC = this.workspace.getBlockById('C'); this.checker = this.workspace.connectionChecker; });