-
-
Notifications
You must be signed in to change notification settings - Fork 825
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] Unit test for file-on-case #21678
Conversation
(Standard links)
|
thanks @demeritcowboy |
Hmm, I think the test fail is a form of pollution from an earlier test since it passes on its own locally. Will figure it out.
|
de23003
to
a8b67ab
Compare
Ok so I can reproduce the fail if I run tests on the whole CRM/Case folder. I can't figure out what the problem is and I've already spent more time on this than I wanted to and probably shortened my hard drive lifespan running so many tests, so I've just moved the test into the BAO test file even though it's not a BAO thing. The note in setUp() there suggests something is off with how CiviCase gets set up/torn down but maybe can punt to a future todo? |
Future todos rule the world |
Overview
I thought there was a test for this but I don't see one exactly like it.
Before
No test
After
Test
Technical Details
There's a variation of file-on-case where you can create a regular activity and put
[case #N]
in the subject and it's a shortcut to then filing it after via the button. It's a bit like the email processor where it will do the same thing if the subject has that.Comments
Is test