Remove failing assertion
authoreileen <emcnaughton@wikimedia.org>
Tue, 2 Jul 2019 00:25:45 +0000 (12:25 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 2 Jul 2019 00:25:45 +0000 (12:25 +1200)
This was a 'never worked' as the original call was doing no check. I changed it to do a check but
got confused & didn't realise thee check was actually failing when I merged. This check was never successful
we should remove it

tests/phpunit/api/v3/LoggingTest.php

index dd02b4118483576c5c3cfad28b7368c9912e980c..79d4f69f65f366838ef087d50b1b9530f0bde1c2 100644 (file)
@@ -346,7 +346,6 @@ class api_v3_LoggingTest extends CiviUnitTestCase {
   public function testRevertRestrictedTables() {
 
     CRM_Core_DAO::executeQuery("SET @uniqueID = 'temp name'");
-    $this->assertEquals(TRUE, $this->callAPISuccessGetValue('Setting', ['name' => 'logging_all_tables_uniquid']));
     $this->callAPISuccess('Setting', 'create', array('logging' => TRUE));
 
     $contactId = $this->individualCreate(array('address' => array(array('street_address' => '27 Cool way', 'location_type_id' => 1))));