Update metadata settings API test for counterpart labels
This commit is contained in:
@@ -129,6 +129,7 @@ class SettingsApiTest extends TestCase
|
|||||||
$linkTypeId = $this->withApplicationKey($user)
|
$linkTypeId = $this->withApplicationKey($user)
|
||||||
->postJson(route('api.projects.settings.metadata.link-types.store', $project), [
|
->postJson(route('api.projects.settings.metadata.link-types.store', $project), [
|
||||||
'name' => 'Relates to',
|
'name' => 'Relates to',
|
||||||
|
'counterpart_name' => 'Relates to',
|
||||||
])
|
])
|
||||||
->assertCreated()
|
->assertCreated()
|
||||||
->json('data.id');
|
->json('data.id');
|
||||||
|
|||||||
Reference in New Issue
Block a user