protected function _getFixtureFiles() {
		$fixtureFolder = TESTS . 'Fixture' . DS;
		$plugin = $this->param('plugin');
		if ($plugin) {
			$fixtureFolder = Plugin::path($plugin) . 'tests' . DS . 'Fixture' . DS;
		}

		$folder = new Folder($fixtureFolder);
		$content = $folder->read();

		$fixtures = [];
		foreach ($content[1] as $file) {
			$fixture = substr($file, 0, -4);
			if (substr($fixture, -7) !== 'Fixture') {
				continue;
			}
			$fixtures[] = $fixture;
		}

		return $fixtures;
	}
protected function _getFixtureFiles() {
		$fixtureFolder = TESTS . 'Fixture' . DS;
		$plugin = $this->param('plugin');
		if ($plugin) {
			$fixtureFolder = Plugin::path($plugin) . 'tests' . DS . 'Fixture' . DS;
		}

		$folder = new Folder($fixtureFolder);
		$content = $folder->read();

		$fixtures = [];
		foreach ($content[1] as $file) {
			$fixture = substr($file, 0, -4);
			if (substr($fixture, -7) !== 'Fixture') {
				continue;
			}
			$fixtures[] = $fixture;
		}

		return $fixtures;
	}
protected function _getFixtureFiles ( ) { $ fixtureFolder = TESTS . 'Fixture' . DS ; $ plugin = $ this -> param ( 'plugin' ) ; if ( $ plugin ) { $ fixtureFolder = Plugin :: path ( $ plugin ) . 'tests' . DS . 'Fixture' . DS ; } $ folder = new Folder ( $ fixtureFolder ) ; $ content = $ folder -> read ( ) ; $ fixtures = [ ] ; foreach ( $ content [ 1 ] as $ file ) { $ fixture = substr ( $ file , 0 , - 4 ) ; if ( substr ( $ fixture , - 7 ) !== 'Fixture' ) { continue ; } $ fixtures [ ] = $ fixture ; } return $ fixtures ; }
Gets a list of fixture files.

@return array Array of fixture files
Gets a list of fixture files .