From 1d72880c097ea8259ce9cc63cfe55e6cc7516bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 7 Apr 2018 23:23:10 +0200 Subject: Add acceptance tests Fixes https://git.immae.eu/mantisbt/view.php?id=42 (new scenario files still need to be added to improve coverage) --- obfuscate | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 obfuscate (limited to 'obfuscate') diff --git a/obfuscate b/obfuscate new file mode 100755 index 0000000..d4562ea --- /dev/null +++ b/obfuscate @@ -0,0 +1,7 @@ +#!/bin/bash + +f="$1" +sed -i -e 's/"Key": ".*",/"Key": "01234567-89ABCDEF-GHIJKLMN-OPQRSTUV",/' $f +sed -i -e 's/"Sign": ".*",/"Sign": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",/' $f +sed -i -e 's/\\"depositAddress\\":\\"[^"]*\\"/\\"depositAddress\\":\\"1HelloWorld\\"/g' $f +sed -i -e 's/"date": "....-..-..T..:..:.........",/"date": "2018-04-07T12:00:00.000000",/' $f -- cgit v1.2.3