You are here

public function FeedsTamperStrToTimeTestCase::test in Feeds Tamper 6

Same name and namespace in other branches
  1. 7 tests/feeds_tamper_plugins.test \FeedsTamperStrToTimeTestCase::test()

File

tests/feeds_tamper_plugins.test, line 883
Unit tests for feeds tamper plugins.

Class

FeedsTamperStrToTimeTestCase
Tests for strtotime.inc

Code

public function test() {
  $this
    ->execute('1986-05-09 04:00:00 GMT', 515995200);
  $this
    ->execute('May 9, 1986 04:00:00 GMT', 515995200);
  $this
    ->execute('Fri, 09 May 1986 04:00:00 GMT', 515995200);
}