Skip to content

Commit 2ec1186

Browse files
committed
test: Rename test assertion for user input clarity
- Updated the test case from 'isInputEnabled' to 'isUserInput' to better reflect the parameter's purpose. - Adjusted the assertion to check for 'isUserInput' instead of 'isInputEnabled' for improved clarity in the context of user input handling.
1 parent 7df822f commit 2ec1186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/agent-params.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ describe('agent-api', function() {
2323
amf = await AmfLoader.load(apiFile, compact);
2424
});
2525

26-
it('isInputEnabled is true', async () => {
26+
it('isUserInput is true', async () => {
2727
const endpopint = AmfLoader.lookupEndpoint(amf, '/reservations/reservationlookup');
2828
const method = AmfLoader.lookupOperation(amf, '/reservations/reservationlookup', 'get');
2929
element = await modelFixture(amf, endpopint, method);
3030
await aTimeout();
31-
assert.equal(element.agentParameters.isInputEnabled, 'true');
31+
assert.equal(element.agentParameters.isUserInput, 'true');
3232
});
3333

3434
it('renders the summary', async () => {

0 commit comments

Comments
 (0)