Skip to content

Commit 8bb5860

Browse files
authored
test: Fix mocha/no-identical-title eslint issue (#296)
1 parent c02b799 commit 8bb5860

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ module.exports = {
3232
// The following rules cause problems for our existing tests, so they are disabled for now:
3333
'mocha/no-skipped-tests': 'off',
3434
'mocha/no-hooks-for-single-case': 'off',
35-
'mocha/no-identical-title': 'off',
3635
},
3736
},
3837
],

test/functional/ProgramCallFunctional.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('ProgramCall Functional Tests', function () {
2626
printConfig();
2727
});
2828

29-
describe('Test ProgramCall()', function () {
29+
describe('addParam', function () {
3030
it('calls QWCRSVAL program checks if it ran successfully', function (done) {
3131
const connection = new Connection(config);
3232

@@ -81,10 +81,10 @@ describe('ProgramCall Functional Tests', function () {
8181
});
8282
});
8383

84-
describe.skip('Test ProgramCall()', function () {
84+
describe.skip('addReturn', function () {
8585
// ZZSRV6 program requires XMLSERVICE built with tests
8686
// Skip for now, we need to add before hook to check ZZSRV6 is available
87-
it.skip('Should be successful with addReturn arbitrary attribute specified', function (done) {
87+
it.skip('calls ZZVARY4 and checks the return value', function (done) {
8888
const connection = new Connection(config);
8989

9090
const program = new ProgramCall('ZZSRV6', { lib: 'XMLSERVICE', func: 'ZZVARY4' });

test/functional/deprecated/iPgmFunctional.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('iPgm Functional Tests', function () {
4747
printConfig();
4848
});
4949

50-
describe('Test iPgm()', function () {
50+
describe('addParam', function () {
5151
it('calls QWCRSVAL program checks if it ran successfully', function (done) {
5252
const connection = new iConn(database, username, password, restOptions);
5353

@@ -79,10 +79,10 @@ describe('iPgm Functional Tests', function () {
7979
});
8080
});
8181

82-
describe.skip('Test iPgm()', function () {
82+
describe.skip('addReturn', function () {
8383
// ZZSRV6 program requires XMLSERVICE built with tests
8484
// Skip for now, we need to add before hook to check if ZZSRV6 is available
85-
it.skip('Should be successful with addReturn arbitrary attribute specified using', function (done) {
85+
it.skip('calls ZZVARY4 and checks the return value', function (done) {
8686
const connection = new iConn(database, username, password, restOptions);
8787

8888
const program = new iPgm('ZZSRV6', { lib: 'XMLSERVICE', func: 'ZZVARY4' });

0 commit comments

Comments
 (0)