You are here

public function FeedsTamperCastToIntTestCase::test in Feeds Tamper 7

File

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

Class

FeedsTamperCastToIntTestCase
Tests for absolute_url.inc

Code

public function test() {
  $this
    ->execute('1', 1);
  $this
    ->execute('asdfsdf', 0);
  $this
    ->execute('1.2324', 1);
  $this
    ->execute(1.234, 1);
  $this
    ->execute(TRUE, 1);
  $this
    ->execute(FALSE, 0);
  $this
    ->execute('23456', 23456);
}