@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $ds = DIRECTORY_SEPARATOR; |
31 | 31 | $xml = new \DOMDocument(); |
32 | 32 | $xml->loadXML($data); |
33 | - $xml->schemaValidate(dirname(__DIR__) . $ds . "xsd" . $ds . "/Microsoft.Data.Entity.Design.Edmx_3.xsd"); |
|
33 | + $xml->schemaValidate(dirname(__DIR__).$ds."xsd".$ds."/Microsoft.Data.Entity.Design.Edmx_3.xsd"); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | public function testEntitysAndProperties() |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $metadataManager = new MetadataManager(); |
39 | 39 | |
40 | 40 | $eType = $metadataManager->addEntityType("Category"); |
41 | - $this->assertNotFalse($eType, "Etype is false not type " . $metadataManager->getLastError()); |
|
41 | + $this->assertNotFalse($eType, "Etype is false not type ".$metadataManager->getLastError()); |
|
42 | 42 | $metadataManager->addPropertyToEntityType($eType, "CategoryID", "Int32", null, false, true, "Identity"); |
43 | 43 | $metadataManager->addPropertyToEntityType($eType, "CategoryName", "String"); |
44 | 44 | $metadataManager->addPropertyToEntityType($eType, "Description", "String"); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $metadataManager = new MetadataManager(); |
64 | 64 | |
65 | 65 | $CategoryType = $metadataManager->addEntityType("Category"); |
66 | - $this->assertNotFalse($CategoryType, "Etype is false not type " . $metadataManager->getLastError()); |
|
66 | + $this->assertNotFalse($CategoryType, "Etype is false not type ".$metadataManager->getLastError()); |
|
67 | 67 | $metadataManager->addPropertyToEntityType($CategoryType, "CategoryID", "Int32", null, false, true, "Identity"); |
68 | 68 | $metadataManager->addPropertyToEntityType($CategoryType, "CategoryName", "String"); |
69 | 69 | $metadataManager->addPropertyToEntityType($CategoryType, "Description", "String"); |