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

[Unit Test] dev/core#1173 and dev/core#1827 - Test for activity tag search - PR 17655 #17755

Merged

Conversation

demeritcowboy
Copy link
Contributor

Overview

Failing test for #17655

For the second tagset test you get:

Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Array (
-        0 => 'Activity Tag IN aa1'
+        0 => 'Activity Tag IN Non-profit'
     )
 )

@eileenmcnaughton @samuelsov

@civibot
Copy link

civibot bot commented Jul 5, 2020

(Standard links)

@civibot civibot bot added the master label Jul 5, 2020
@eileenmcnaughton
Copy link
Contributor

@demeritcowboy based on you having written this should I now merge the other? (& merge this once it passes)

@demeritcowboy
Copy link
Contributor Author

Yes could do that.

@demeritcowboy
Copy link
Contributor Author

Fail as expected. So this should pass now the other PR has been merged. Jenkins retest this please and also pass this time.

CRM_Contact_BAO_ActivitySearchTest::testSearchByTagset
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Array (
-        0 => 'Activity Tag IN aa1'
+        0 => 'Activity Tag IN Non-profit'
     )
 )

/home/jenkins/bknix-dfl/build/core-17755-4j6e2/web/sites/all/modules/civicrm/tests/phpunit/CRM/Contact/BAO/ActivitySearchTest.php:301
/home/jenkins/bknix-dfl/build/core-17755-4j6e2/web/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:209
/home/jenkins/bknix-dfl/extern/phpunit7/phpunit7.phar:615

@seamuslee001 seamuslee001 merged commit 4d9a9d6 into civicrm:master Jul 5, 2020
@demeritcowboy demeritcowboy deleted the test-activity-tag-search branch July 13, 2020 02:12
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.

3 participants