Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodolfo committed Dec 4, 2024
1 parent 680444a commit 0a08a48
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 148 deletions.
77 changes: 0 additions & 77 deletions src/test/kotlin/crablet/example/CrabletTest1.kt

This file was deleted.

61 changes: 0 additions & 61 deletions src/test/kotlin/crablet/example/CrabletTest2.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package crablet.example

import crablet.example.CustomerEvents.CUSTOMER_ACTIVATED
import crablet.example.CustomerEvents.CUSTOMER_DEACTIVATED
import crablet.example.CustomerEvents.CUSTOMER_REGISTERED
import crablet.example.CustomerEvents.CUSTOMER_RENAMED
import crablet.example.CustomerEventsFields.ID
import crablet.example.CustomerEventsFields.NAME
import crablet.example.CustomerEventsFields.REASON
import crablet.example.CustomerEventsFields.TYPE
package crablet.lab

import crablet.lab.CustomerEvents.CUSTOMER_ACTIVATED
import crablet.lab.CustomerEvents.CUSTOMER_DEACTIVATED
import crablet.lab.CustomerEvents.CUSTOMER_REGISTERED
import crablet.lab.CustomerEvents.CUSTOMER_RENAMED
import crablet.lab.CustomerEventsFields.ID
import crablet.lab.CustomerEventsFields.NAME
import crablet.lab.CustomerEventsFields.REASON
import crablet.lab.CustomerEventsFields.TYPE
import `fun`.gen.Gen

import io.vertx.core.json.JsonObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,19 @@ class AccountTransferScenarioTest : AbstractCrabletTest() {
event.getInteger("amount")
)
)

event.getString("toAcct") == state.id -> state.copy(
balance = state.balance.plus(
event.getInteger(
"amount"
)
)
)

else -> state
}
}

else -> state
}
})
Expand Down

0 comments on commit 0a08a48

Please sign in to comment.