We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530c76a commit 4933982Copy full SHA for 4933982
test/integration/patch-test.js
@@ -112,6 +112,17 @@ describe('PATCH', () => {
112
text: 'Patch applied successfully',
113
result: '@prefix : </write-only.ttl#>.\n@prefix tim: </>.\n\ntim:a tim:b tim:c.\n\ntim:d tim:e tim:f.\n\ntim:x tim:y tim:z.\n\n'
114
}))
115
+
116
+ describe('on a resource with parent folders that do not exist', describePatch({
117
+ path: '/folder/cool.ttl',
118
+ exists: false,
119
+ patch: `<> solid:patches <https://tim.localhost:7777/folder/cool.ttl>;
120
+ solid:inserts { <x> <y> <z>. }.`
121
+ }, {
122
+ status: 200,
123
+ text: 'Patch applied successfully',
124
+ result: '@prefix : <#>.\n@prefix fol: <./>.\n\nfol:x fol:y fol:z.\n\n'
125
+ }))
126
})
127
128
describe('with insert and where', () => {
0 commit comments