File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 DEBUG : ' none'
4545
4646 - name : Run E2E tests against the container app
47- run : DEBUG=test:deprecated npm run test:deprecated:e2e || echo 'Test run failed when trying to use the deployed auth app'
47+ run : DEBUG=test:deprecated npm run test:deprecated:e2e
4848 env :
4949 SOURCE_URL : ${{ secrets.SOURCE_URL }}
5050 DEBUG : ' none'
7373 run : npm run test:deprecated:coverage
7474 env :
7575 SOURCE_URL : ${{ secrets.SOURCE_URL }}
76- DEBUG : ' lib:corpus '
76+ DEBUG : ' test:deprecated '
7777 - name : Upload coverage report
7878 uses : actions/upload-artifact@v5
7979 if : success() || failure()
Original file line number Diff line number Diff line change 11const { NODE_ENV } = process . env ;
2- const { couchKeys } = require ( 'config' ) ;
2+ const { couchKeys, usersDbConnection } = require ( 'config' ) ;
33const { Connection } = require ( 'fielddb/api/corpus/Connection' ) ;
44const debug = require ( 'debug' ) ( 'lib:corpus:management' ) ;
55const url = require ( 'url' ) ;
@@ -11,7 +11,7 @@ if (!Connection || !Connection.knownConnections || !Connection.knownConnections.
1111 throw new Error ( `The app config for ${ NODE_ENV } is missing app types to support. ` ) ;
1212}
1313
14- const parsed = url . parse ( 'http://localhost:5984' ) ;
14+ const parsed = url . parse ( usersDbConnection . url ) ;
1515const couchConnectUrl = `${ parsed . protocol } //${ couchKeys . username } :${ couchKeys . password } @${ parsed . host } ` ;
1616// console.log('Using couchKeys url: ', couchKeys);
1717debug ( 'Using corpus url: ' , couchConnectUrl ) ;
You can’t perform that action at this time.
0 commit comments