/** * testRecursiveSources * * @return void */ public function testRecursiveSources() { $config = array_merge($this->config, array('recursive' => true)); $this->Csv = new CsvSource($config); $expected = array('Blog', 'Post', 'User', 'SecondLevel' . DS . 'Thing'); $result = $this->Csv->listSources(); $this->assertSame($expected, $result); }
/** * testRecursiveSources * * @return void * @access public */ function testRecursiveSources() { $config = array_merge($this->config, array('recursive' => true)); $this->Csv =& new CsvSource($config); $expected = array('posts', 'users', 'second_level' . DS . 'things'); $result = $this->Csv->listSources(); $this->assertIdentical($expected, $result); }