Commit 376180d3 authored by catch's avatar catch

Issue #2635242 by quietone, alvar0hurtad0: Add tests for node body [d6] [d7]

parent d28ad0bb
......@@ -52,6 +52,7 @@ protected function setUp() {
'd7_field',
'd7_field_instance',
'd7_node__test_content_type',
'd7_node__article',
]);
}
......@@ -143,6 +144,9 @@ public function testNode() {
$this->assertIdentical('title text', $node->field_images->title);
$this->assertIdentical('93', $node->field_images->width);
$this->assertIdentical('93', $node->field_images->height);
$node = Node::load(2);
$this->assertIdentical("...is that it's the absolute best show ever. Trust me, I would know.", $node->body->value);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment