Open JimBTek opened 7 years ago
i should mention that with the change set I limited it to just run ChatterAddFilesToRecordsControllerTest and no other tests
Hi @JimBTek,
I'm not sure off the top of my head. I'll need to dig in and see if I can reproduce it.
Thanks,
Doug
OK, i'll try in my dev org as well and let you know.
On Thu, Oct 19, 2017 at 11:32 AM, Doug Ayers notifications@github.com wrote:
Hi @JimBTek https://github.com/jimbtek,
I'm not sure off the top of my head. I'll need to dig in and see if I can reproduce it.
Thanks,
Doug
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DouglasCAyers/sfdc-add-files-to-records-list-view-button/issues/3#issuecomment-337945703, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHzG6oadAXuNL6Y80wVFCJji2CF4mXWks5st2trgaJpZM4PzNNC .
No matter what I try with the Files Settings in Salesforce, I get the following 3 errors only when deploying from a Sandbox to Production via a Change Set. I also get 2 of the 3 errors when trying to deploy via the Github Deploy Tool.
I'm not sure if it could have caused any issues, but the first time I tried to deploy with the github Deploy Tool I some errors related to other tests in Production.
Change set
System.AssertException: Assertion Failed: Expected: 0, Actual: 1 Stack Trace: Class.ChatterAddFilesToRecordsControllerTest.test_attach_already_shared_files: line 188, column 1
System.AssertException: Assertion Failed: Expected: 1, Actual: 2 Stack Trace: Class.ChatterAddFilesToRecordsControllerTest.test_attach_files_to_records: line 141, column 1
System.AssertException: Assertion Failed: Expected: 1, Actual: 0 Stack Trace: Class.ChatterAddFilesToRecordsControllerTest.test_get_recently_viewed_files: line 49, column 1
GitHub Deploy Tool
Status: Completed Deployment CompleteTest failure, method: ChatterAddFilesToRecordsControllerTest.test_attach_already_shared_files -- System.AssertException: Assertion Failed: Expected: 0, Actual: 1 stack Class.ChatterAddFilesToRecordsControllerTest.test_attach_already_shared_files: line 188, column 1
Test failure, method: ChatterAddFilesToRecordsControllerTest.test_attach_files_to_records -- System.AssertException: Assertion Failed: Expected: 1, Actual: 2 stack Class.ChatterAddFilesToRecordsControllerTest.test_attach_files_to_records: line 141, column 1