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

[NFC] Add unit test to cover component ACLs. #12846

Merged
merged 2 commits into from
Sep 21, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 20, 2018

Overview

This adds a unit test and does a very minor cleanup making the return a little clearer

Before

No test

After

test

Technical Details

This is preliminary to sorting out performance issues of activity.get api calls in some circumstances. We have some activities that take over 60 seconds to load using the api.

Comments

I have a pretty good idea what I need to do to sort out the performance issue but given the state of the PR queue I'm going to leave it at this very minor cleanup & removing the better in most cases worse in some change in #12845 - I suspect this PR might take a couple of rounds with Jenkins anyway given the change I made to the activityCreate helper in the test suite

This adds a unit test and does a very minor cleanup making the return a little clearer
@seamuslee001
Copy link
Contributor

Jenkins re test this please

@seamuslee001
Copy link
Contributor

@eileenmcnaughton just getting Jenkins to re test following merge of 12845 (and subsequent PR of 5.6 -> master)

@seamuslee001
Copy link
Contributor

Adding merge on pass flag as Jenkins is the only real test here

@seamuslee001
Copy link
Contributor

Merging as test fails unrelated

@seamuslee001 seamuslee001 merged commit 0d6fdbb into civicrm:master Sep 21, 2018
@seamuslee001 seamuslee001 deleted the activitytest branch September 21, 2018 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants