diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index 5f0bbb2..950083a 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -30,6 +30,7 @@ jobs: -p licenseName="SEE LICENSE IN LICENSE.md" --git-user-id lilt --git-repo-id lilt-node + --http-user-agent Lilt_Client_Library-Node --skip-validate-spec -o . - name: Create Pull Request diff --git a/workflow_tests/testVerifiedTranslation.js b/workflow_tests/testVerifiedTranslation.js index 1c7faaa..8cc46a4 100644 --- a/workflow_tests/testVerifiedTranslation.js +++ b/workflow_tests/testVerifiedTranslation.js @@ -32,16 +32,10 @@ function expectCreateJobResponse(expect, createJobResponse) { expect(createJobResponse.due).to.not.be.null expect(createJobResponse.id).to.not.be.null expect(createJobResponse.isProcessing).to.equal(0) - expect(createJobResponse.stats.exactWords).to.equal(0) - expect(createJobResponse.stats.fuzzyWords).to.equal(0) - expect(createJobResponse.stats.newWords).to.equal(0) expect(createJobResponse.stats.numDeliveredProjects).to.equal(0) - expect(createJobResponse.stats.numLanguagePairs).to.equal(1) - expect(createJobResponse.stats.numProjects).to.equal(1) expect(createJobResponse.stats.percentReviewed).to.equal(0) expect(createJobResponse.stats.percentTranslated).to.equal(0) expect(createJobResponse.stats.projects).to.be.an('array') - expect(createJobResponse.stats.sourceWords).to.equal(0) expect(createJobResponse.stats.uniqueLanguagePairs).to.equal(1) expect(createJobResponse.stats.uniqueLinguists).to.equal(0) expect(createJobResponse.stats.workflowStatus).to.equal("READY_TO_START")