platform icon indicating copy to clipboard operation
platform copied to clipboard

Dashboard manager fails to determine dasbhoard

Open vytsci opened this issue 6 years ago • 7 comments

For functional tests there is no user, as there is no user this throws exception. With this patch functional tests might work.

vytsci avatar Jul 24 '19 09:07 vytsci

Thank you for your pull request.

It looks like this may be your first contribution to an Oro, Inc. open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at http://www.orocrm.com/contributor-license-agreement/

If you've already signed the CLA, it's possible we don't have your GitHub username or you're using a different email address. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Please sign the CLA again using the correct GitHub username and email address or see this help article on setting the email on your git commits.

Once you've signed the CLA, please allow for some time for the submission to be processed.

orocla avatar Jul 24 '19 10:07 orocla

Hi @vytsci,

How do you run functional tests?

We run them on Jenkins CI for every merge commit to the master and maintenance branches and merge blocked when tests are not green. So it looks like you are running tests differently and it causes the below issue.

anyt avatar Jul 24 '19 10:07 anyt

Hi, @anyt Im using bin/phpiunit --testsuite=functional command to run tests. Without this tests that requires running application just fails due to exception Ive mentioned.

vytsci avatar Jul 24 '19 11:07 vytsci

What application do you use to run functional tests?

anyt avatar Jul 24 '19 13:07 anyt

PhpUnit as described in Oro official documentation about functional tests

vytsci avatar Jul 24 '19 16:07 vytsci

Tests supposed to be run from one of the applications: https://github.com/oroinc/platform-application https://github.com/oroinc/crm-application https://github.com/oroinc/orocommerce-application Which one do you use?

anyt avatar Jul 24 '19 18:07 anyt

oh sorry its crm application :)

vytsci avatar Jul 24 '19 19:07 vytsci