MigrateUpgradeReviewPageTestBase.php in Commerce Migrate 3.1.x
File
tests/src/Functional/MigrateUpgradeReviewPageTestBase.php
View source
<?php
namespace Drupal\Tests\commerce_migrate\Functional;
use Drupal\migrate_drupal\MigrationConfigurationTrait;
use Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait;
use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
abstract class MigrateUpgradeReviewPageTestBase extends MultilingualReviewPageTestBase {
use MigrationConfigurationTrait;
use CreateTestContentEntitiesTrait;
protected static $modules = [
'migrate_drupal_ui',
];
public function testMigrateUpgradeReviewPage() {
$this
->prepare();
$this
->drupalGet('/upgrade');
$this
->submitForm([], 'Continue');
$edits = $this
->translatePostValues($this
->getCredentials());
$this
->submitForm($edits, 'Review upgrade');
$this
->assertReviewForm();
}
protected function getEntityCounts() {
return [];
}
protected function getEntityCountsIncremental() {
return [];
}
}