Skip to content

Commit 04432c9

Browse files
JeroenDeDauwclaude
andcommitted
Drop misleading property-name override from the cleared-relation test
The watch no longer falls back to the property name, so the name override implied a dependency the test does not exercise. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b54c469 commit 04432c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/ext.neowiki/tests/components/SchemaEditor/Property/RelationAttributesEditor.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ describe( 'RelationAttributesEditor', () => {
8989

9090
it( 'clears the displayed relation when the stored relation is emptied', async () => {
9191
const wrapper = newWrapper( {
92-
property: relationProperty( { relation: 'Has product', name: new PropertyName( 'Main product' ) } ),
92+
property: relationProperty( { relation: 'Has product' } ),
9393
} );
9494

9595
await wrapper.setProps( {
96-
property: relationProperty( { relation: '', name: new PropertyName( 'Main product' ) } ),
96+
property: relationProperty( { relation: '' } ),
9797
} );
9898

9999
expect( wrapper.findComponent( CdxTextInput ).props( 'modelValue' ) ).toBe( '' );

0 commit comments

Comments
 (0)