Skip to content

Commit 5a5075c

Browse files
author
U-MARKLOGIC\ageorge
committed
Changed collections name to have proper cleanup at end of test run
1 parent 007574e commit 5a5075c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test-complete/nodejs-documents-metadata-values.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ describe('Document Metadata values test', function() {
288288
uri: docuri,
289289
contentType: 'application/json',
290290
quality: 13,
291+
collections: ['metadataValuesColl'],
291292
properties: {'$ml.xml': '<prop:properties xmlns:prop="http://marklogic.com/xdmp/property"><myProps>Property 1</myProps></prop:properties>'},
292293
content: {
293294
title: 'The memex',
@@ -317,8 +318,8 @@ describe('Document Metadata values test', function() {
317318
db.documents.patch({uri: docuri,
318319
categories: ['metadata'],
319320
operations: [
320-
p.collections.add('metadataValuesColl/ADDED'),
321-
p.properties.add('$ml.xml', '<prop:properties xmlns:prop="http://marklogic.com/xdmp/property"><myProps1>Property 2</myProps1></prop:properties>'),
321+
p.collections.add('metadataValuesColl'),
322+
p.properties.add('$ml.xml', '<prop:properties xmlns:prop="http://marklogic.com/xdmp/property"><myProps>Property 2</myProps></prop:properties>'),
322323
p.quality.set(2)
323324
]
324325
}).result(function(response){

0 commit comments

Comments
 (0)