Produced by Araxis Merge on 10/4/2017 8:04:37 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\encounters | encounters-procedures-cpt-modifier-fetch-list-itest-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\encounters | encounters-procedures-cpt-modifier-fetch-list-itest-spec.js | Tue Oct 3 19:09:56 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 80 |
| Changed | 1 | 10 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | 'use stric t'; | |
| 2 | ||
| 3 | var fetchL ist = requ ire('./enc ounters-pr ocedures-c pt-modifie r-fetch-li st').fetch ; | |
| 4 | ||
| 5 | var log = sinon.stub (require(' bunyan').c reateLogge r({ | |
| 6 | name: 'cpt-modif ier-fetch- list' | |
| 7 | })); | |
| 8 | ||
| 9 | var config uration = { | |
| 10 | enviro nment: 'de velopment' , | |
| 11 | contex t: 'OR CPR S GUI CHAR T', | |
| 12 | host: ' IP ', | |
| 13 | port: PORT , | |
| 14 | accessCode : ' REDACT ', | |
| 15 | verifyCode : ' REDACTED ', | |
| 16 | localIP: ' IP ', | |
| 17 | localA ddress: 'l ocalhost' | |
| 18 | }; | |
| 19 | ||
| 20 | describe(' cpt-modifi er resourc e integrat ion test', function( ) { | |
| 21 | it('ca n call the getEncoun tersProced uresCptMod ifier RPC without er rors', fun ction (don e) { | |
| 22 | th is.timeout (8000); | |
| 23 | fe tchList(lo g, configu ration, fu nction (er r, result) { | |
| 24 | expect(e rr).to.be. falsy(); | |
| 25 | expect(r esult).to. exist(); | |
| 26 | done(); | |
| 27 | }, {cpt: '99 202', visi tDate: '20 150617'}); | |
| 28 | }); | |
| 29 | it('wi ll receive an error when cpt p arameter i s missing' , function (done){ | |
| 30 | th is.timeout (8000); | |
| 31 | fe tchList(lo g, configu ration, fu nction (er r, result) { | |
| 32 | expect(e rr).to.be. truthy(); | |
| 33 | expect(r esult).not .to.exist( ); | |
| 34 | done(); | |
| 35 | }) ; | |
| 36 | }); | |
| 37 | it('wi ll NOT ret urn data', function( done){ | |
| 38 | th is.timeout (8000); | |
| 39 | fe tchList(lo g, configu ration, fu nction (er r, result) { | |
| 40 | expect(e rr).to.be. truthy(); | |
| 41 | expect(r esult).not .to.exist( ); | |
| 42 | done(); | |
| 43 | }, {cpt: '1' , visitDat e: '201506 17'}); | |
| 44 | }); | |
| 45 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.