You are here

public function FeedsTamperRequiredTestCase::test in Feeds Tamper 6

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

File

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

Class

FeedsTamperRequiredTestCase
Tests for required.inc

Code

public function test() {
  $input = array();
  $input[] = array(
    's1' => 'sdafasf',
    's2' => 'asdfsf',
    's3' => 'asdfasf',
  );
  $input[] = array(
    's1' => 'sdafasf',
    's2' => 'asdfsf',
    's3' => NULL,
  );
  $input[] = array(
    's1' => 'sdafasf',
    's2' => 'asdfsf',
    's3' => 'asdfasf',
  );
  $output = $input;
  unset($output[1]);
  $this
    ->executeReq($input, $output, 's3');
}