Browse Source

Update fixture loading casing.

mscherer 7 years ago
parent
commit
df64e5ce2e

+ 3 - 1
tests/TestCase/Auth/MultiColumnAuthenticateTest.php

@@ -12,7 +12,9 @@ class MultiColumnAuthenticateTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.Tools.multi_column_users'];
+	public $fixtures = [
+		'plugin.Tools.MultiColumnUsers'
+	];
 
 	/**
 	 * @var \Tools\Auth\MultiColumnAuthenticate

+ 3 - 1
tests/TestCase/Controller/Component/MobileComponentTest.php

@@ -17,7 +17,9 @@ class MobileComponentTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['core.sessions'];
+	public $fixtures = [
+		'core.Sessions'
+	];
 
 	/**
 	 * @var \Cake\Event\Event

+ 3 - 1
tests/TestCase/Controller/ControllerTest.php

@@ -12,7 +12,9 @@ class ControllerTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.Tools.ToolsUsers'];
+	public $fixtures = [
+		'plugin.Tools.ToolsUsers'
+	];
 
 	/**
 	 * @var \Cake\Controller\Controller

+ 4 - 2
tests/TestCase/Form/ContactFormTest.php

@@ -11,8 +11,10 @@ class ContactFormTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'core.posts', 'core.authors',
-		'plugin.tools.tools_users', 'plugin.tools.roles',
+		'core.Posts',
+		'core.Authors',
+		'plugin.Tools.ToolsUsers',
+		'plugin.Tools.Roles'
 	];
 
 	/**

+ 1 - 1
tests/TestCase/Model/Behavior/BitmaskedBehaviorTest.php

@@ -12,7 +12,7 @@ class BitmaskedBehaviorTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.bitmasked_comments'
+		'plugin.Tools.BitmaskedComments'
 	];
 
 	/**

+ 3 - 1
tests/TestCase/Model/Behavior/ConfirmableBehaviorTest.php

@@ -15,7 +15,9 @@ class ConfirmableBehaviorTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.Tools.SluggedArticles'];
+	public $fixtures = [
+		'plugin.Tools.SluggedArticles'
+	];
 
 	/**
 	 * @return void

+ 1 - 1
tests/TestCase/Model/Behavior/JsonableBehaviorTest.php

@@ -12,7 +12,7 @@ class JsonableBehaviorTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.jsonable_comments'
+		'plugin.Tools.JsonableComments'
 	];
 
 	/**

+ 3 - 1
tests/TestCase/Model/Behavior/NeighborBehaviorTest.php

@@ -16,7 +16,9 @@ class NeighborBehaviorTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.tools.stories'];
+	public $fixtures = [
+		'plugin.Tools.Stories'
+	];
 
 	/**
 	 * @return void

+ 2 - 1
tests/TestCase/Model/Behavior/PasswordableBehaviorTest.php

@@ -15,7 +15,8 @@ class PasswordableBehaviorTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.tools_users', 'plugin.tools.roles',
+		'plugin.Tools.ToolsUsers',
+		'plugin.Tools.Roles'
 	];
 
 	/**

+ 3 - 1
tests/TestCase/Model/Behavior/ResetBehaviorTest.php

@@ -21,7 +21,9 @@ class ResetBehaviorTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.tools.reset_comments'];
+	public $fixtures = [
+		'plugin.Tools.ResetComments'
+	];
 
 	/**
 	 * @return void

+ 1 - 1
tests/TestCase/Model/Behavior/SluggedBehaviorTest.php

@@ -19,7 +19,7 @@ class SluggedBehaviorTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.slugged_articles'
+		'plugin.Tools.SluggedArticles'
 	];
 
 	/**

+ 1 - 1
tests/TestCase/Model/Behavior/StringBehaviorTest.php

@@ -11,7 +11,7 @@ class StringBehaviorTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.string_comments'
+		'plugin.Tools.StringComments'
 	];
 
 	/**

+ 1 - 1
tests/TestCase/Model/Behavior/ToggleBehaviorTest.php

@@ -11,7 +11,7 @@ class ToggleBehaviorTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.toggle_addresses'
+		'plugin.Tools.ToggleAddresses'
 	];
 
 	/**

+ 3 - 1
tests/TestCase/Model/Behavior/TypeMapBehaviorTest.php

@@ -20,7 +20,9 @@ class TypeMapBehaviorTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.Tools.Data'];
+	public $fixtures = [
+		'plugin.Tools.Data'
+	];
 
 	/**
 	 * @return void

+ 3 - 1
tests/TestCase/Model/Behavior/TypographicBehaviorTest.php

@@ -15,7 +15,9 @@ class TypographicBehaviorTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['core.articles'];
+	public $fixtures = [
+		'core.Articles'
+	];
 
 	/**
 	 * @return void

+ 2 - 1
tests/TestCase/Model/Entity/EntityTest.php

@@ -11,7 +11,8 @@ class EntityTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.tools_users', 'plugin.tools.roles',
+		'plugin.Tools.ToolsUsers',
+		'plugin.Tools.Roles'
 	];
 
 	/**

+ 4 - 2
tests/TestCase/Model/Table/TableTest.php

@@ -13,8 +13,10 @@ class TableTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'core.posts', 'core.authors',
-		'plugin.tools.tools_users', 'plugin.tools.roles',
+		'core.Posts',
+		'core.Authors',
+		'plugin.Tools.ToolsUsers',
+		'plugin.Tools.Roles'
 	];
 
 	/**

+ 3 - 1
tests/TestCase/Model/Table/TokensTableTest.php

@@ -15,7 +15,9 @@ class TokensTableTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['plugin.Tools.Tokens'];
+	public $fixtures = [
+		'plugin.Tools.Tokens'
+	];
 
 	/**
 	 * @return void

+ 3 - 1
tests/TestCase/View/Helper/FormatHelperTest.php

@@ -16,7 +16,9 @@ class FormatHelperTest extends TestCase {
 	/**
 	 * @var array
 	 */
-	public $fixtures = ['core.sessions'];
+	public $fixtures = [
+		'core.Sessions'
+	];
 
 	/**
 	 * @var \Tools\View\Helper\FormatHelper

+ 1 - 1
tests/TestCase/View/Helper/TreeHelperTest.php

@@ -15,7 +15,7 @@ class TreeHelperTest extends TestCase {
 	 * @var array
 	 */
 	public $fixtures = [
-		'plugin.tools.after_trees'
+		'plugin.Tools.AfterTrees'
 	];
 
 	/**