You are here

public function IdenticalToValidatorTest::provideAllValidComparisons in Plug 7

Return value

array

Overrides AbstractComparisonValidatorTestCase::provideAllValidComparisons

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IdenticalToValidatorTest.php, line 38

Class

IdenticalToValidatorTest
@author Daniel Holmes <daniel@danielholmes.org>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function provideAllValidComparisons() {
  $this
    ->setDefaultTimezone('UTC');

  // Don't call addPhp5Dot5Comparisons() automatically, as it does
  // not take care of identical objects
  $comparisons = $this
    ->provideValidComparisons();
  $this
    ->restoreDefaultTimezone();
  return $comparisons;
}