Completed
Push — master ( d1d910...7edec1 )
by amaury
03:34
created
src/OpenOrchestra/Tests/Functional/ModelBundle/Model/EntityTest.php 1 patch
Spacing   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function testInstance($class, $interface)
20 20
     {
21
-        $fullClass = 'OpenOrchestra\ModelBundle\Document\\' . $class;
22
-        $fullInterface = 'OpenOrchestra\ModelInterface\Model\\' . $interface;
21
+        $fullClass = 'OpenOrchestra\ModelBundle\Document\\'.$class;
22
+        $fullInterface = 'OpenOrchestra\ModelInterface\Model\\'.$interface;
23 23
         $entity = new $fullClass();
24 24
 
25 25
         $this->assertInstanceOf($fullInterface, $entity);
@@ -31,52 +31,52 @@  discard block
 block discarded – undo
31 31
     public function providateClassInterfaceRelation()
32 32
     {
33 33
         return array(
34
-            array('Node'                     , 'NodeInterface'),
35
-            array('Node'                     , 'SchemeableInterface'),
36
-            array('Node'                     , 'ReadSchemeableInterface'),
37
-            array('Node'                     , 'VersionableInterface'),
38
-            array('Node'                     , 'SoftDeleteableInterface'),
39
-            array('Node'                     , 'StatusableInterface'),
40
-            array('Content'                  , 'StatusableInterface'),
41
-            array('Content'                  , 'SoftDeleteableInterface'),
42
-            array('Content'                  , 'VersionableInterface'),
43
-            array('Content'                  , 'SiteLinkableInterface'),
44
-            array('ContentType'              , 'SiteLinkableInterface'),
45
-            array('Area'                     , 'AreaInterface'),
46
-            array('Area'                     , 'ReadAreaInterface'),
47
-            array('Block'                    , 'BlockInterface'),
48
-            array('Block'                    , 'ReadBlockInterface'),
49
-            array('Block'                    , 'TimestampableInterface'),
50
-            array('ContentAttribute'         , 'ContentAttributeInterface'),
51
-            array('ContentAttribute'         , 'ReadContentAttributeInterface'),
52
-            array('Content'                  , 'ContentInterface'),
53
-            array('Content'                  ,  'ReadContentInterface'),
54
-            array('ContentType'              , 'ContentTypeInterface'),
55
-            array('ContentType'              , 'SoftDeleteableInterface'),
56
-            array('ContentType'              , 'FieldTypeContainerInterface'),
57
-            array('ContentType'              , 'VersionableInterface'),
58
-            array('FieldType'                , 'FieldTypeInterface'),
59
-            array('FieldOption'              , 'FieldOptionInterface'),
60
-            array('Site'                     , 'SiteInterface'),
61
-            array('Site'                     , 'SoftDeleteableInterface'),
62
-            array('SiteAlias'                , 'SiteAliasInterface'),
63
-            array('SiteAlias'                , 'SchemeableInterface'),
64
-            array('SiteAlias'                , 'ReadSchemeableInterface'),
65
-            array('Node'                     , 'BlameableInterface'),
66
-            array('Content'                  , 'BlameableInterface'),
67
-            array('ContentType'              , 'BlameableInterface'),
68
-            array('Node'                     , 'TimestampableInterface'),
69
-            array('Content'                  , 'TimestampableInterface'),
70
-            array('ContentType'              , 'TimestampableInterface'),
71
-            array('Keyword'                  , 'KeywordInterface'),
72
-            array('Content'                  , 'KeywordableInterface'),
73
-            array('Redirection'              , 'RedirectionInterface'),
74
-            array('Redirection'              , 'ReadRedirectionInterface'),
75
-            array('TrashItem'                , 'TrashItemInterface'),
76
-            array('RouteDocument'            , 'RouteDocumentInterface'),
77
-            array('WorkflowProfile'          , 'WorkflowProfileInterface'),
34
+            array('Node', 'NodeInterface'),
35
+            array('Node', 'SchemeableInterface'),
36
+            array('Node', 'ReadSchemeableInterface'),
37
+            array('Node', 'VersionableInterface'),
38
+            array('Node', 'SoftDeleteableInterface'),
39
+            array('Node', 'StatusableInterface'),
40
+            array('Content', 'StatusableInterface'),
41
+            array('Content', 'SoftDeleteableInterface'),
42
+            array('Content', 'VersionableInterface'),
43
+            array('Content', 'SiteLinkableInterface'),
44
+            array('ContentType', 'SiteLinkableInterface'),
45
+            array('Area', 'AreaInterface'),
46
+            array('Area', 'ReadAreaInterface'),
47
+            array('Block', 'BlockInterface'),
48
+            array('Block', 'ReadBlockInterface'),
49
+            array('Block', 'TimestampableInterface'),
50
+            array('ContentAttribute', 'ContentAttributeInterface'),
51
+            array('ContentAttribute', 'ReadContentAttributeInterface'),
52
+            array('Content', 'ContentInterface'),
53
+            array('Content', 'ReadContentInterface'),
54
+            array('ContentType', 'ContentTypeInterface'),
55
+            array('ContentType', 'SoftDeleteableInterface'),
56
+            array('ContentType', 'FieldTypeContainerInterface'),
57
+            array('ContentType', 'VersionableInterface'),
58
+            array('FieldType', 'FieldTypeInterface'),
59
+            array('FieldOption', 'FieldOptionInterface'),
60
+            array('Site', 'SiteInterface'),
61
+            array('Site', 'SoftDeleteableInterface'),
62
+            array('SiteAlias', 'SiteAliasInterface'),
63
+            array('SiteAlias', 'SchemeableInterface'),
64
+            array('SiteAlias', 'ReadSchemeableInterface'),
65
+            array('Node', 'BlameableInterface'),
66
+            array('Content', 'BlameableInterface'),
67
+            array('ContentType', 'BlameableInterface'),
68
+            array('Node', 'TimestampableInterface'),
69
+            array('Content', 'TimestampableInterface'),
70
+            array('ContentType', 'TimestampableInterface'),
71
+            array('Keyword', 'KeywordInterface'),
72
+            array('Content', 'KeywordableInterface'),
73
+            array('Redirection', 'RedirectionInterface'),
74
+            array('Redirection', 'ReadRedirectionInterface'),
75
+            array('TrashItem', 'TrashItemInterface'),
76
+            array('RouteDocument', 'RouteDocumentInterface'),
77
+            array('WorkflowProfile', 'WorkflowProfileInterface'),
78 78
             array('WorkflowProfileCollection', 'WorkflowProfileCollectionInterface'),
79
-            array('WorkflowTransition'       , 'WorkflowTransitionInterface'),
79
+            array('WorkflowTransition', 'WorkflowTransitionInterface'),
80 80
         );
81 81
     }
82 82
 }
Please login to merge, or discard this patch.