Browse Source

s/field_tags/field_model

pull/754/head
dannylamb 5 years ago
parent
commit
d16d754028
  1. 6
      tests/src/Functional/NodeHasTermTest.php

6
tests/src/Functional/NodeHasTermTest.php

@ -35,7 +35,7 @@ class NodeHasTermTest extends IslandoraFunctionalTestBase {
->create([ ->create([
'type' => 'test_type', 'type' => 'test_type',
'title' => 'Test Node', 'title' => 'Test Node',
'field_tags' => [$this->imageTerm->id()], 'field_model' => [$this->imageTerm->id()],
]); ]);
// Create and execute the condition. // Create and execute the condition.
@ -66,7 +66,7 @@ class NodeHasTermTest extends IslandoraFunctionalTestBase {
->create([ ->create([
'type' => 'test_type', 'type' => 'test_type',
'title' => 'Test Node', 'title' => 'Test Node',
'field_tags' => [$this->preservationMasterTerm->id()], 'field_model' => [$this->preservationMasterTerm->id()],
]); ]);
$condition->setContextValue('node', $node); $condition->setContextValue('node', $node);
@ -90,7 +90,7 @@ class NodeHasTermTest extends IslandoraFunctionalTestBase {
->create([ ->create([
'type' => 'test_type', 'type' => 'test_type',
'title' => 'Test Node', 'title' => 'Test Node',
'field_tags' => [ 'field_model' => [
$this->imageTerm->id(), $this->imageTerm->id(),
$this->preservationMasterTerm->id(), $this->preservationMasterTerm->id(),
], ],

Loading…
Cancel
Save