Browse Source

Remove unneeded fixtures

euromark 11 years ago
parent
commit
ff69aa3334

+ 0 - 115
Test/Fixture/AddressFixture.php

@@ -1,115 +0,0 @@
-<?php
-/* Address Fixture generated on: 2011-11-20 21:58:38 : 1321822718 */
-
-/**
- * AddressFixture
- *
- */
-class AddressFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'foreign_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'model' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => 'redundance purposely'),
-		'first_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'last_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'street' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => 'street address and street numbe', 'charset' => 'utf8'),
-		'postal_code' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 10, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'city' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => 'maps.google.de latitude'),
-		'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => 'maps.google.de longitude'),
-		'last_used' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'formatted_address' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'created' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'type_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 4, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '46',
-			'foreign_id' => '6',
-			'model' => 'Partner',
-			'country_id' => '0',
-			'first_name' => 'Hans',
-			'last_name' => 'Wurst',
-			'street' => 'Langstrasse 10',
-			'postal_code' => '101010',
-			'city' => 'München',
-			'lat' => '48.150589',
-			'lng' => '11.472230',
-			'last_used' => '0000-00-00 00:00:00',
-			'formatted_address' => 'Josef-Lang-Straße 10, 81245 München, Deutschland',
-			'created' => '2011-04-21 16:50:05',
-			'modified' => '2011-10-07 17:42:27',
-			'type_id' => '0'
-		),
-		array(
-			'id' => '47',
-			'foreign_id' => '4',
-			'model' => 'Restaurant',
-			'country_id' => '1',
-			'first_name' => '',
-			'last_name' => '',
-			'street' => 'Leckermannstrasse 10',
-			'postal_code' => '101010',
-			'city' => 'München',
-			'lat' => '48.133942',
-			'lng' => '11.490000',
-			'last_used' => '2031-01-01 00:00:00',
-			'formatted_address' => 'Eckermannstraße 10, 80689 München, Deutschland',
-			'created' => '2011-04-21 16:51:01',
-			'modified' => '2011-10-07 17:44:02',
-			'type_id' => '0'
-		),
-		array(
-			'id' => '48',
-			'foreign_id' => '7',
-			'model' => 'Partner',
-			'country_id' => '0',
-			'first_name' => 'Tim',
-			'last_name' => 'Schoror',
-			'street' => 'Krebenweg 11',
-			'postal_code' => '12523',
-			'city' => 'Schwäbisch Boll',
-			'lat' => '19.081490',
-			'lng' => '19.690800',
-			'last_used' => '0000-00-00 00:00:00',
-			'formatted_address' => 'Krebenweg 11, 12523 Schwäbisch Boll, Deutschland',
-			'created' => '2011-11-17 13:47:36',
-			'modified' => '2011-11-17 13:47:36',
-			'type_id' => '0'
-		),
-		array(
-			'id' => '49',
-			'foreign_id' => '5',
-			'model' => 'Restaurant',
-			'country_id' => '1',
-			'first_name' => '',
-			'last_name' => '',
-			'street' => 'hjsf',
-			'postal_code' => 'hsjsdf',
-			'city' => 'sdhfhj',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'last_used' => '0000-00-00 00:00:00',
-			'formatted_address' => '',
-			'created' => '2011-11-17 14:34:14',
-			'modified' => '2011-11-17 14:49:21',
-			'type_id' => '0'
-		),
-	);
-}

+ 0 - 234
Test/Fixture/CountryFixture.php

@@ -1,234 +0,0 @@
-<?php
-/* Country Fixture generated on: 2011-11-20 21:58:51 : 1321822731 */
-
-/**
- * CountryFixture
- *
- */
-class CountryFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 64, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'ori_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 64, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'iso2' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 2, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'iso3' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'continent_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''),
-		'country_code' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 4, 'collate' => null, 'comment' => ''),
-		'eu_member' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => 'Member of the EU'),
-		'special' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'zip_length' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'collate' => null, 'comment' => 'if > 0 validate on this length'),
-		'zip_regexp' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'sort' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''),
-		'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => 'forGoogleMap'),
-		'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => 'forGoogleMap'),
-		'address_format' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'status' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'collate' => null, 'comment' => ''),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '1',
-			'name' => 'Deutschland',
-			'ori_name' => 'Deutschland',
-			'iso2' => 'DE',
-			'iso3' => 'DEU',
-			'continent_id' => '0',
-			'country_code' => '49',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '5',
-			'zip_regexp' => '',
-			'sort' => '3',
-			'lat' => '51.165691',
-			'lng' => '10.451526',
-			'address_format' => ':name :street_address D-:postcode :city :country',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:04'
-		),
-		array(
-			'id' => '2',
-			'name' => 'Österreich',
-			'ori_name' => 'Österreich',
-			'iso2' => 'AT',
-			'iso3' => 'AUT',
-			'continent_id' => '0',
-			'country_code' => '43',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '2',
-			'lat' => '47.516232',
-			'lng' => '14.550072',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:04'
-		),
-		array(
-			'id' => '3',
-			'name' => 'Schweiz',
-			'ori_name' => 'Schweiz',
-			'iso2' => 'CH',
-			'iso3' => 'CHE',
-			'continent_id' => '0',
-			'country_code' => '41',
-			'eu_member' => 0,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '1',
-			'lat' => '46.818188',
-			'lng' => '8.227512',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:04'
-		),
-		array(
-			'id' => '4',
-			'name' => 'Belgien',
-			'ori_name' => 'Belgium',
-			'iso2' => 'BE',
-			'iso3' => 'BEL',
-			'continent_id' => '0',
-			'country_code' => '32',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '50.503887',
-			'lng' => '4.469936',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:09'
-		),
-		array(
-			'id' => '5',
-			'name' => 'Niederlande',
-			'ori_name' => 'Netherlands',
-			'iso2' => 'NL',
-			'iso3' => 'NLD',
-			'continent_id' => '0',
-			'country_code' => '31',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '52.132633',
-			'lng' => '5.291266',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:40'
-		),
-		array(
-			'id' => '6',
-			'name' => 'Dänemark',
-			'ori_name' => 'Denmark',
-			'iso2' => 'DK',
-			'iso3' => 'DNK',
-			'continent_id' => '0',
-			'country_code' => '45',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '56.263920',
-			'lng' => '9.501785',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:14'
-		),
-		array(
-			'id' => '7',
-			'name' => 'Luxemburg',
-			'ori_name' => 'Luxembourg',
-			'iso2' => 'LU',
-			'iso3' => 'LUX',
-			'continent_id' => '0',
-			'country_code' => '352',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '49.815273',
-			'lng' => '6.129583',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:34'
-		),
-		array(
-			'id' => '8',
-			'name' => 'Frankreich',
-			'ori_name' => 'France',
-			'iso2' => 'FR',
-			'iso3' => 'FRA',
-			'continent_id' => '0',
-			'country_code' => '33',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '46.227638',
-			'lng' => '2.213749',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:17'
-		),
-		array(
-			'id' => '9',
-			'name' => 'Großbritannien',
-			'ori_name' => 'United Kingdom (Great Britian)',
-			'iso2' => 'GB',
-			'iso3' => 'GBR',
-			'continent_id' => '0',
-			'country_code' => '44',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '55.378052',
-			'lng' => '-3.435973',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:19'
-		),
-		array(
-			'id' => '12',
-			'name' => 'Ukraine',
-			'ori_name' => 'Ukraine',
-			'iso2' => 'UA',
-			'iso3' => 'UKR',
-			'continent_id' => '0',
-			'country_code' => '380',
-			'eu_member' => 1,
-			'special' => '',
-			'zip_length' => '0',
-			'zip_regexp' => '',
-			'sort' => '0',
-			'lat' => '48.379433',
-			'lng' => '31.165581',
-			'address_format' => '',
-			'status' => '1',
-			'modified' => '2010-06-06 00:19:57'
-		),
-	);
-}

+ 0 - 124
Test/Fixture/CountryProvinceFixture.php

@@ -1,124 +0,0 @@
-<?php
-/* CountryProvince Fixture generated on: 2011-11-20 21:58:52 : 1321822732 */
-
-/**
- * CountryProvinceFixture
- *
- */
-class CountryProvinceFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''),
-		'abbr' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
-		'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '1',
-			'country_id' => '1',
-			'abbr' => 'BAY',
-			'name' => 'Bayern',
-			'lat' => '48.790447',
-			'lng' => '11.497889',
-			'modified' => '2009-11-27 04:10:31'
-		),
-		array(
-			'id' => '2',
-			'country_id' => '1',
-			'abbr' => 'BBG',
-			'name' => 'Brandenburg',
-			'lat' => '52.408417',
-			'lng' => '12.562492',
-			'modified' => '2009-11-27 04:10:32'
-		),
-		array(
-			'id' => '3',
-			'country_id' => '1',
-			'abbr' => 'BER',
-			'name' => 'Berlin',
-			'lat' => '52.523403',
-			'lng' => '13.411400',
-			'modified' => '2009-11-27 04:10:31'
-		),
-		array(
-			'id' => '4',
-			'country_id' => '1',
-			'abbr' => 'BRE',
-			'name' => 'Bremen',
-			'lat' => '53.074982',
-			'lng' => '8.807081',
-			'modified' => '2009-11-27 04:10:32'
-		),
-		array(
-			'id' => '5',
-			'country_id' => '1',
-			'abbr' => 'BW',
-			'name' => 'Baden-Württemberg',
-			'lat' => '48.661606',
-			'lng' => '9.350134',
-			'modified' => '2009-11-27 04:10:31'
-		),
-		array(
-			'id' => '6',
-			'country_id' => '1',
-			'abbr' => 'HES',
-			'name' => 'Hessen',
-			'lat' => '50.652050',
-			'lng' => '9.162438',
-			'modified' => '2009-11-27 04:10:38'
-		),
-		array(
-			'id' => '7',
-			'country_id' => '1',
-			'abbr' => 'HH',
-			'name' => 'Hamburg',
-			'lat' => '53.553406',
-			'lng' => '9.992196',
-			'modified' => '2009-11-27 04:10:37'
-		),
-		array(
-			'id' => '8',
-			'country_id' => '1',
-			'abbr' => 'MVP',
-			'name' => 'Mecklenburg-Vorp.',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '9',
-			'country_id' => '1',
-			'abbr' => 'NDS',
-			'name' => 'Niedersachsen',
-			'lat' => '52.636703',
-			'lng' => '9.845076',
-			'modified' => '2009-11-27 04:10:49'
-		),
-		array(
-			'id' => '10',
-			'country_id' => '1',
-			'abbr' => 'NRW',
-			'name' => 'Nordrhein-Westfalen',
-			'lat' => '51.433235',
-			'lng' => '7.661594',
-			'modified' => '2009-11-27 04:10:49'
-		),
-	);
-}

+ 0 - 168
Test/Fixture/CountyFixture.php

@@ -1,168 +0,0 @@
-<?php
-/* County Fixture generated on: 2011-11-20 21:58:50 : 1321822730 */
-
-/**
- * CountyFixture
- *
- */
-class CountyFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'official_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 9, 'key' => 'unique', 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'key' => 'index', 'collate' => null, 'comment' => ''),
-		'state_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'key' => 'index', 'collate' => null, 'comment' => ''),
-		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
-		'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
-		'slug' => array('type' => 'string', 'null' => false, 'default' => null, 'key' => 'unique', 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'single_city' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => ''),
-		'rank' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 5, 'key' => 'index', 'collate' => null, 'comment' => ''),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'official_id' => array('column' => 'official_id', 'unique' => 1), 'slug' => array('column' => 'slug', 'unique' => 1), 'country' => array('column' => 'country_id', 'unique' => 0), 'state_id' => array('column' => 'state_id', 'unique' => 0), 'rank' => array('column' => 'rank', 'unique' => 0)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '1',
-			'official_id' => '01-0-01',
-			'country_id' => '1',
-			'state_id' => '1',
-			'name' => 'Flensburg',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'flensburg',
-			'single_city' => 1,
-			'rank' => '1',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '2',
-			'official_id' => '01-0-02',
-			'country_id' => '1',
-			'state_id' => '1',
-			'name' => 'Kiel',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'kiel',
-			'single_city' => 1,
-			'rank' => '3',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '3',
-			'official_id' => '01-0-03',
-			'country_id' => '1',
-			'state_id' => '1',
-			'name' => 'Lübeck',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'luebeck',
-			'single_city' => 1,
-			'rank' => '4',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '4',
-			'official_id' => '01-0-04',
-			'country_id' => '1',
-			'state_id' => '1',
-			'name' => 'Neumünster',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'neumuenster',
-			'single_city' => 1,
-			'rank' => '5',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '5',
-			'official_id' => '02-0-00',
-			'country_id' => '1',
-			'state_id' => '2',
-			'name' => 'Hamburg',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'hamburg',
-			'single_city' => 1,
-			'rank' => '0',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '6',
-			'official_id' => '03-1-01',
-			'country_id' => '1',
-			'state_id' => '3',
-			'name' => 'Braunschweig',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'braunschweig',
-			'single_city' => 1,
-			'rank' => '2',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '7',
-			'official_id' => '03-1-02',
-			'country_id' => '1',
-			'state_id' => '3',
-			'name' => 'Salzgitter',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'salzgitter',
-			'single_city' => 1,
-			'rank' => '34',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '8',
-			'official_id' => '03-1-03',
-			'country_id' => '1',
-			'state_id' => '3',
-			'name' => 'Wolfsburg',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'wolfsburg',
-			'single_city' => 1,
-			'rank' => '45',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '9',
-			'official_id' => '03-4-01',
-			'country_id' => '1',
-			'state_id' => '3',
-			'name' => 'Delmenhorst',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'delmenhorst',
-			'single_city' => 1,
-			'rank' => '6',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '10',
-			'official_id' => '03-4-02',
-			'country_id' => '1',
-			'state_id' => '3',
-			'name' => 'Emden',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'emden',
-			'single_city' => 1,
-			'rank' => '8',
-			'modified' => '0000-00-00 00:00:00'
-		),
-	);
-}

+ 0 - 157
Test/Fixture/CurrencyFixture.php

@@ -1,157 +0,0 @@
-<?php
-/* Currency Fixture generated on: 2011-11-20 21:58:59 : 1321822739 */
-
-/**
- * CurrencyFixture
- *
- */
-class CurrencyFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'name' => array('type' => 'string', 'null' => false, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'code' => array('type' => 'string', 'null' => false, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'symbol_left' => array('type' => 'string', 'null' => true, 'length' => 12, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'symbol_right' => array('type' => 'string', 'null' => true, 'length' => 12, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'decimal_places' => array('type' => 'string', 'null' => true, 'length' => 1, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'value' => array('type' => 'float', 'null' => true, 'default' => '0.0000', 'length' => '9,4', 'collate' => null, 'comment' => ''),
-		'base' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => 'is base currency'),
-		'active' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => ''),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '1',
-			'name' => 'US Dollar',
-			'code' => 'USD',
-			'symbol_left' => '$',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '1.4146',
-			'base' => 0,
-			'active' => 1,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '2',
-			'name' => 'Euro',
-			'code' => 'EUR',
-			'symbol_left' => '€',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '1.0000',
-			'base' => 1,
-			'active' => 1,
-			'modified' => '2009-11-23 12:45:15'
-		),
-		array(
-			'id' => '3',
-			'name' => 'British Pounds',
-			'code' => 'GBP',
-			'symbol_left' => '£',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '0.8775',
-			'base' => 0,
-			'active' => 1,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '4',
-			'name' => 'Schweizer Franken',
-			'code' => 'CHF',
-			'symbol_left' => '',
-			'symbol_right' => 'Fr.',
-			'decimal_places' => '2',
-			'value' => '1.1577',
-			'base' => 0,
-			'active' => 1,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '5',
-			'name' => 'Australien Dollar',
-			'code' => 'AUD',
-			'symbol_left' => '',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '1.3264',
-			'base' => 0,
-			'active' => 0,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '6',
-			'name' => 'Canadian Dollar',
-			'code' => 'CAD',
-			'symbol_left' => '',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '1.3549',
-			'base' => 0,
-			'active' => 0,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '7',
-			'name' => 'Japanese Yen',
-			'code' => 'JPY',
-			'symbol_left' => '',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '111.9700',
-			'base' => 0,
-			'active' => 0,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '9',
-			'name' => 'Mexican Peso',
-			'code' => 'MXN',
-			'symbol_left' => '',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '16.5510',
-			'base' => 0,
-			'active' => 0,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '10',
-			'name' => 'Norwegian Krone',
-			'code' => 'NOK',
-			'symbol_left' => '',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '7.8665',
-			'base' => 0,
-			'active' => 0,
-			'modified' => '2011-07-16 15:12:33'
-		),
-		array(
-			'id' => '11',
-			'name' => 'Swedish Krona',
-			'code' => 'SEK',
-			'symbol_left' => '',
-			'symbol_right' => '',
-			'decimal_places' => '2',
-			'value' => '9.2121',
-			'base' => 0,
-			'active' => 0,
-			'modified' => '2011-07-16 15:12:33'
-		),
-	);
-}

+ 0 - 168
Test/Fixture/LanguageFixture.php

@@ -1,168 +0,0 @@
-<?php
-/* Language Fixture generated on: 2011-11-20 21:59:07 : 1321822747 */
-
-/**
- * LanguageFixture
- *
- */
-class LanguageFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'ori_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'code' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 6, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'iso3' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'iso2' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 2, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'locale' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'locale_fallback' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'status' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'collate' => null, 'comment' => ''),
-		'sort' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '25',
-			'name' => 'Deutsch',
-			'ori_name' => 'German',
-			'code' => 'de',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'de_DE',
-			'locale_fallback' => 'deu',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '2',
-			'name' => 'Arabic',
-			'ori_name' => 'Arabic',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ara',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '3',
-			'name' => 'Arabic (U.A.E.)',
-			'ori_name' => 'Arabic (U.A.E.)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_ae',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '4',
-			'name' => 'Arabic (Bahrain)',
-			'ori_name' => 'Arabic (Bahrain)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_bh',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '5',
-			'name' => 'Arabic (Algeria)',
-			'ori_name' => 'Arabic (Algeria)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_dz',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '6',
-			'name' => 'Arabic (Egypt)',
-			'ori_name' => 'Arabic (Egypt)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_eg',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '7',
-			'name' => 'Arabic (Iraq)',
-			'ori_name' => 'Arabic (Iraq)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_iq',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '8',
-			'name' => 'Arabic (Jordan)',
-			'ori_name' => 'Arabic (Jordan)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_jo',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '9',
-			'name' => 'Arabic (Kuwait)',
-			'ori_name' => 'Arabic (Kuwait)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_kw',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-		array(
-			'id' => '10',
-			'name' => 'Arabic (Lebanon)',
-			'ori_name' => 'Arabic (Lebanon)',
-			'code' => 'ar',
-			'iso3' => '',
-			'iso2' => '',
-			'locale' => 'ar_lb',
-			'locale_fallback' => 'ara',
-			'status' => '0',
-			'sort' => '0',
-			'modified' => '2011-07-17 15:23:08'
-		),
-	);
-}

+ 0 - 135
Test/Fixture/StateFixture.php

@@ -1,135 +0,0 @@
-<?php
-/* State Fixture generated on: 2011-11-20 21:59:38 : 1321822778 */
-
-/**
- * StateFixture
- *
- */
-class StateFixture extends CakeTestFixture {
-
-	/**
-	 * Fields
-	 *
-	 * @var array
-	 */
-	public $fields = array(
-		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
-		'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''),
-		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'abbr' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
-		'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
-		'slug' => array('type' => 'string', 'null' => false, 'default' => null, 'key' => 'index', 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
-		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
-		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'slug' => array('column' => 'slug', 'unique' => 0)),
-		'tableParameters' => array()
-	);
-
-	/**
-	 * Records
-	 *
-	 * @var array
-	 */
-	public $records = array(
-		array(
-			'id' => '1',
-			'country_id' => '1',
-			'name' => 'Schleswig-Holstein',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'schleswig-holstein',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '2',
-			'country_id' => '1',
-			'name' => 'Hamburg',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'hamburg',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '3',
-			'country_id' => '1',
-			'name' => 'Niedersachsen',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'niedersachsen',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '4',
-			'country_id' => '1',
-			'name' => 'Bremen',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'bremen',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '5',
-			'country_id' => '1',
-			'name' => 'Nordrhein-Westfalen',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'nordrhein-westfalen',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '6',
-			'country_id' => '1',
-			'name' => 'Hessen',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'hessen',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '7',
-			'country_id' => '1',
-			'name' => 'Rheinland-Pfalz',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'rheinland-pfalz',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '8',
-			'country_id' => '1',
-			'name' => 'Baden-Württemberg',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'baden-wuerttemberg',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '9',
-			'country_id' => '1',
-			'name' => 'Bayern',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'bayern',
-			'modified' => '0000-00-00 00:00:00'
-		),
-		array(
-			'id' => '10',
-			'country_id' => '1',
-			'name' => 'Saarland',
-			'abbr' => '',
-			'lat' => '0.000000',
-			'lng' => '0.000000',
-			'slug' => 'saarland',
-			'modified' => '0000-00-00 00:00:00'
-		),
-	);
-}