public function sqlSyncTest::testLocalSqlSync

8.0.x sqlSyncTest.php public sqlSyncTest::testLocalSqlSync()
6.x sqlSyncTest.php public sqlSyncTest::testLocalSqlSync()
7.x sqlSyncTest.php public sqlSyncTest::testLocalSqlSync()
4.x sqlSyncTest.php public sqlSyncTest::testLocalSqlSync()
5.x sqlSyncTest.php public sqlSyncTest::testLocalSqlSync()
master sqlSyncTest.php public sqlSyncTest::testLocalSqlSync()

Covers the following responsibilities.

  • A user created on the source site is copied to the destination site.
  • The email address of the copied user is sanitized on the destination site.

General handling of site aliases will be in sitealiasTest.php.

File

tests/sqlSyncTest.php, line 27
For now we only test sql-sync in simulated mode. *

Namespace

Unish

Class

sqlSyncTest
@group slow @group commands @group sql

Code

public function testLocalSqlSync() {
  if ($this->db_driver() == 'sqlite') {
    $this->markTestSkipped('SQL Sync does not apply to SQLite.');
    return;
  }

  $sites = $this->setUpDrupal(2, TRUE);
  return $this->localSqlSync();
}