Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvn clean verify fails running info.elexis.server.setup.test #25

Open
ngiger opened this issue Sep 20, 2018 · 1 comment
Open

mvn clean verify fails running info.elexis.server.setup.test #25

ngiger opened this issue Sep 20, 2018 · 1 comment

Comments

@ngiger
Copy link
Member

ngiger commented Sep 20, 2018

The master branch fails running "mvn clean verify" when running info.elexis.server.setup.test

Output contains

Results :

Failed tests:
SetupTest._01_startupWithoutDatabaseConnection:88

<title>Error 401 Unauthorized</title>

HTTP ERROR 401

Problem accessing /services/elexis-connector/connection. Reason:

    Unauthorized


Powered by Jetty:// 9.4.10.v20180503

SetupTest._02_0_setInvalidTestDatabaseConnection:112 expected:<422> but was:<401>
SetupTest._02_1_setValidTestDatabaseConnection:122

<title>Error 401 Unauthorized</title>

HTTP ERROR 401

Problem accessing /services/elexis-connector/connection. Reason:

    Unauthorized


Powered by Jetty:// 9.4.10.v20180503

SetupTest._08_tryToAccessFHIRPatientResourceWithAccessToken_scopeFhir:242 expected:<200> but was:<401>

Tests in error:
SetupTest._07_fetchAccessTokenWithUnitTestClientTestUsersForScopeFhir:206 » OAuthProblem

Tests run: 16, Failures: 4, Errors: 1, Skipped: 1

Tests run: 16, Failures: 4, Errors: 1, Skipped: 1

@ngiger
Copy link
Member Author

ngiger commented Sep 20, 2018

Also it would be nice to see the travis-ci build pass. E.g https://travis-ci.org/elexis/elexis-server is deactivated and the .travis.yml was last updated three years ago. It should be possible to run the unit tests on a freshly checkout copy. I don't mind if the readme or travis.yml would contain instructions to make the tests pass, eg. setting some environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant