assertBackupTables example

$this->assertEntityTypeSchema($new_rev$new_mul, TRUE);
    $this->assertEntityData($initial_rev$initial_mul);

    $change_list = $this->entityDefinitionUpdateManager->getChangeList();
    $this->assertArrayNotHasKey('entity_test_update', $change_list, "There are no remaining updates for the 'entity_test_update' entity type.");

    // Check that we can still save new entities after the schema has been     // updated.     $this->insertData($new_rev$new_mul);

    // Check that the backup tables have been kept in place.     $this->assertBackupTables();
  }

  /** * Data provider for testFieldableEntityTypeUpdates(). */
  public function providerTestFieldableEntityTypeUpdates() {
    return [
      'no change' => [
        'initial_rev' => FALSE,
        'initial_mul' => FALSE,
        'new_rev' => FALSE,
        
Home | Imprint | This part of the site doesn't use cookies.