|
|
@ -66,7 +66,7 @@ class GenerateAudioDerivativeTest extends GenerateDerivativeTestBase { |
|
|
|
'name[0][value]' => 'Test Media', |
|
|
|
'name[0][value]' => 'Test Media', |
|
|
|
'files[field_media_file_0]' => __DIR__ . '/../../fixtures/test_file.txt', |
|
|
|
'files[field_media_file_0]' => __DIR__ . '/../../fixtures/test_file.txt', |
|
|
|
'field_media_of[0][target_id]' => 'Test Node', |
|
|
|
'field_media_of[0][target_id]' => 'Test Node', |
|
|
|
'field_media_use[0][target_id]' => 'foo', // change back to $this->preservationMasterTerm->label() |
|
|
|
'field_media_use[0][target_id]' => 'foo', |
|
|
|
]; |
|
|
|
]; |
|
|
|
$this->drupalGet('media/add/' . $this->testMediaType->id()); |
|
|
|
$this->drupalGet('media/add/' . $this->testMediaType->id()); |
|
|
|
$this->submitForm($values, $this->t('Save')); |
|
|
|
$this->submitForm($values, $this->t('Save')); |
|
|
|