libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit e1dcdfc38a90f04fbc8b51672e5c9f5f9cd6d773
parent a07dcd5e63505c34d1fb4ba8dc698cb9cc7deb59
Author: ms <ms@taler.net>
Date:   Sat, 31 Jul 2021 14:09:40 +0200

fix test

Diffstat:
M.idea/misc.xml | 2+-
M.idea/runConfigurations/test_sandbox.xml | 8+++++---
Msandbox/src/test/kotlin/BalanceTest.kt | 2+-
3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/.idea/misc.xml b/.idea/misc.xml @@ -9,5 +9,5 @@ <component name="FrameworkDetectionExcludesConfiguration"> <file type="web" url="file://$PROJECT_DIR$" /> </component> - <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK" /> + <component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK" /> </project> \ No newline at end of file diff --git a/.idea/runConfigurations/test_sandbox.xml b/.idea/runConfigurations/test_sandbox.xml @@ -1,10 +1,10 @@ <component name="ProjectRunConfigurationManager"> - <configuration default="false" name="test-sandbox" type="GradleRunConfiguration" factoryName="Gradle"> + <configuration default="false" name="test-sandbox" type="GradleRunConfiguration" factoryName="Gradle" show_console_on_std_out="true"> <ExternalSystemSettings> <option name="executionName" /> <option name="externalProjectPath" value="$PROJECT_DIR$/sandbox" /> <option name="externalSystemIdString" value="GRADLE" /> - <option name="scriptParameters" value="" /> + <option name="scriptParameters" value="--info" /> <option name="taskDescriptions"> <list /> </option> @@ -15,7 +15,9 @@ </option> <option name="vmOptions" value="" /> </ExternalSystemSettings> - <GradleScriptDebugEnabled>true</GradleScriptDebugEnabled> + <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> + <ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> + <DebugAllEnabled>false</DebugAllEnabled> <method v="2" /> </configuration> </component> \ No newline at end of file diff --git a/sandbox/src/test/kotlin/BalanceTest.kt b/sandbox/src/test/kotlin/BalanceTest.kt @@ -65,7 +65,7 @@ class BalanceTest { it[direction] = "DBIT" it[accountServicerReference] = "test-account-servicer-reference" } - assert(BigInteger.ONE == balanceForAccount("earns")) + assert(java.math.BigDecimal.ONE == balanceForAccount("earns")) } } }