Skip to content

Commit 180d1be

Browse files
author
Joe Koberg
committed
readd testdata, needed by tests. should probably be changed to a resource that is deployed at test time.
1 parent fe2fddd commit 180d1be

File tree

2 files changed

+654
-0
lines changed

2 files changed

+654
-0
lines changed

testdata/SingleTestData.xml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<TestData>
3+
<Get path="rest-1.v1/Data/Story?sel=Name">
4+
<Response>
5+
<![CDATA[
6+
<Assets total="1" pageSize="2147483647" pageStart="0">
7+
<Asset href="/VersionOne.Web/rest-1.v1/Data/Story/1042" id="Story:1042">
8+
<Attribute name="Name">Story</Attribute>
9+
</Asset>
10+
</Assets>
11+
]]>
12+
</Response>
13+
</Get>
14+
<Post path="rest-1.v1/Data/Story">
15+
<Request>
16+
<![CDATA[
17+
<Asset>
18+
<Attribute name="Name" act="set">New Story</Attribute>
19+
<Relation name="Scope" act="set">
20+
<Asset idref="Scope:0" />
21+
</Relation>
22+
</Asset>
23+
]]>
24+
</Request>
25+
<Response>
26+
<![CDATA[
27+
<Asset href="/VersionOne/rest-1.v1/Data/Story/1072/214" id="Story:1072:214">
28+
<Attribute name="Name">New Story</Attribute>
29+
<Relation name="Scope">
30+
<Asset href="/VersionOne.Web/rest-1.v1/Data/Scope/0" idref="Scope:0" />
31+
</Relation>
32+
</Asset>
33+
]]>
34+
</Response>
35+
</Post>
36+
</TestData>

0 commit comments

Comments
 (0)