Skip to content

Commit 6ad50b7

Browse files
committed
test updates
1 parent 617339b commit 6ad50b7

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

test/test-st2-unauthorized.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ describe("auth with invalid st2 API key", async function() {
8282

8383
after(function() {
8484
stop && stop();
85-
if (robot.server) {
86-
robot.server.close();
87-
}
8885
robot.shutdown();
8986
// Remove stackstorm.js from the require cache
9087
// https://medium.com/@gattermeier/invalidate-node-js-require-cache-c2989af8f8b0

test/test-st2bot-setup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ describe("stanley the StackStorm bot", async function() {
8787

8888
after(function() {
8989
stop && stop();
90-
robot.server.close();
9190
robot.shutdown();
9291
});
9392

test/test-twofactor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ describe("two-factor auth module", async function() {
100100

101101
after(function() {
102102
stop && stop();
103-
robot.server.close();
104103
robot.shutdown();
105104
logs = [];
106105
});

0 commit comments

Comments
 (0)