Skip to content

Commit ef91571

Browse files
committed
Fix broken next test:
Now after ran the test MM_PORT of test case for change of port the enviroment variable is deleted.
1 parent 19b9d37 commit ef91571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: tests/e2e/port_config.js

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ describe("port directive configuration", function () {
3636
// Set config sample for use in this test
3737
process.env.MM_CONFIG_FILE = "tests/configs/port_8090.js";
3838
});
39+
40+
after(function(){
41+
delete process.env.MM_PORT;
42+
});
3943
it("should return 200", function (done) {
4044
request.get("http://localhost:8100", function (err, res, body) {
4145
expect(res.statusCode).to.equal(200);

0 commit comments

Comments
 (0)