summaryrefslogtreecommitdiff
path: root/bkucommon/src/test/java/at/gv
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-11-28 11:06:27 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-11-28 11:06:27 +0000
commit1bb3ab8458c1199d17d3a2c39f86086a834879a5 (patch)
tree87d95b4aa6d5741842335556d07627eba2f1c8a5 /bkucommon/src/test/java/at/gv
parent6db3f2298372d78b7dfe33833ef7227fb99f87e9 (diff)
downloadmocca-1bb3ab8458c1199d17d3a2c39f86086a834879a5.tar.gz
mocca-1bb3ab8458c1199d17d3a2c39f86086a834879a5.tar.bz2
mocca-1bb3ab8458c1199d17d3a2c39f86086a834879a5.zip
Change unsupported command test to CreateHashRequest
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1232 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/test/java/at/gv')
-rw-r--r--bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java
index d95216fa..eda3e4e8 100644
--- a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java
+++ b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java
@@ -74,7 +74,7 @@ public class SLCommandFactoryTest {
@Test(expected=SLCommandException.class)
public void createUnsupportedCommand() throws SLCommandException, SLRuntimeException, SLRequestException, SLVersionException {
Reader requestReader = new StringReader(
- "<CreateCMSSignatureRequest xmlns=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2#\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2# file:/home/clemens/IAIK/BKU2/svn/bku/utils/src/main/schema/Core-1.2.xsd\" Structure=\"detached\"><KeyboxIdentifier></KeyboxIdentifier><DataObject><MetaInfo><MimeType></MimeType></MetaInfo><Content><Base64Content></Base64Content></Content></DataObject></CreateCMSSignatureRequest>");
+ "<CreateHashRequest xmlns=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2#\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2# file:/home/clemens/IAIK/BKU2/svn/bku/utils/src/main/schema/Core-1.2.xsd\"><HashInfo RespondHashData=\"true\"><HashData><MetaInfo><MimeType></MimeType></MetaInfo><Content><XMLContent></XMLContent></Content></HashData><HashAlgorithm></HashAlgorithm></HashInfo></CreateHashRequest>");
StreamSource source = new StreamSource(requestReader);
factory.createSLCommand(source);