Passed
Pull Request — master (#120)
by Christopher
04:44
created
tests/MetadataManagerNavigationTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $result = null;
28 28
 
29 29
         list($CategoryType, $result) = $metadataManager->addEntityType("Category");
30
-        $this->assertNotFalse($CategoryType, "Etype is false not type " . $metadataManager->getLastError());
30
+        $this->assertNotFalse($CategoryType, "Etype is false not type ".$metadataManager->getLastError());
31 31
         $metadataManager->addPropertyToEntityType($CategoryType, "CategoryID", "Int32", null, false, true, "Identity");
32 32
         $metadataManager->addPropertyToEntityType($CategoryType, "CategoryName", "String");
33 33
         $metadataManager->addPropertyToEntityType($CategoryType, "Description", "String");
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $this->assertTrue($metadataManager->getEdmx()->isOK($msg), $msg);
114 114
 
115 115
         $expectedRelation = "Data.Category_Products_Product_Category";
116
-        list($principalNav, ) = $metadataManager->addNavigationPropertyToEntityType(
116
+        list($principalNav,) = $metadataManager->addNavigationPropertyToEntityType(
117 117
             $CategoryType, "*", "Products", $ProductType, "1", "Category", ["CategoryID"], ["CategoryID"]
118 118
         );
119 119
         $this->assertEquals($expectedRelation, $principalNav->getRelationship());
Please login to merge, or discard this patch.