commit aec7fb69af2bbb0ee6bcb8ae90423383ec2c2112 Author: Klaus Purer Date: Thu Aug 22 16:58:52 2013 +0200 Fixed node namespace. diff --git a/core/modules/hal/lib/Drupal/hal/Tests/NodeTest.php b/core/modules/hal/lib/Drupal/hal/Tests/NodeTest.php index a5b7c89..c1ca759 100644 --- a/core/modules/hal/lib/Drupal/hal/Tests/NodeTest.php +++ b/core/modules/hal/lib/Drupal/hal/Tests/NodeTest.php @@ -86,7 +86,7 @@ public function testLimitedFieldCardinality() { ); $serializer = $this->container->get('serializer'); - $node = $serializer->denormalize($data, 'Drupal\node\Plugin\Core\Entity\Node', 'hal_json'); + $node = $serializer->denormalize($data, 'Drupal\node\Entity\Node', 'hal_json'); $this->assertEqual(count($node->get('field_test')), 1, 'Exactly one field item was created.'); $this->assertEqual($node->get('field_test')->getValue(), $data['field_test']); }