You are here

public function OnlyOneTest::providerGetTemporaryContentTypesTableName in Allow a content type only once (Only One) 8

Data provider for testGetTemporaryContentTypesTableName().

Return value

array An array of arrays, each containing:

  • 'expected' - Expected return from getTemporaryContentTypesTableName().

See also

testExistsNodesContentType()

File

tests/src/Unit/OnlyOneTest.php, line 111

Class

OnlyOneTest
Tests the OnlyOne class methods.

Namespace

Drupal\Tests\onlyone\Unit

Code

public function providerGetTemporaryContentTypesTableName() {
  $tests[] = [
    'tablename1',
  ];
  $tests[] = [
    'tablename2',
  ];
  return $tests;
}