You are here

public function Ubercart7FixtureTest::testItWorked in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7FixtureTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7FixtureTest::testItWorked()
  2. 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7FixtureTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7FixtureTest::testItWorked()

If the fixture installed, this will pass.

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7FixtureTest.php, line 29

Class

Ubercart7FixtureTest
Test that ensures fixture can be installed.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

public function testItWorked() {
  $user = User::load(2);
  $this
    ->assertEquals('tomparis', $user
    ->getAccountName());
}