Skip to content
Snippets Groups Projects
Unverified Commit dd188234 authored by jonastheis's avatar jonastheis
Browse files

Clean up tangle tests

parent 6d2ed312
No related branches found
No related tags found
No related merge requests found
...@@ -31,15 +31,6 @@ func TestSetTransactionPreferred(t *testing.T) { ...@@ -31,15 +31,6 @@ func TestSetTransactionPreferred(t *testing.T) {
assert.True(t, modified) assert.True(t, modified)
} }
func TestPropagateValuePayloadLikeUpdates(t *testing.T) {
}
//TODO: missing propagateValuePayloadConfirmedUpdates (not yet implemented)
func TestSetTransactionFinalized(t *testing.T) {
}
// TestBookTransaction tests the following cases: // TestBookTransaction tests the following cases:
// - missing output // - missing output
// - transaction already booked by another process // - transaction already booked by another process
...@@ -491,7 +482,7 @@ func TestStoreTransactionModels(t *testing.T) { ...@@ -491,7 +482,7 @@ func TestStoreTransactionModels(t *testing.T) {
}) })
// check created consumers // check created consumers
// TODO: only reason that there could be multiple consumers = conflict, e.g. 2 tx use same inputs? // only reason that there could be multiple consumers = conflict, e.g. 2 tx use same inputs?
tx.Inputs().ForEach(func(inputId transaction.OutputID) bool { tx.Inputs().ForEach(func(inputId transaction.OutputID) bool {
expectedConsumer := NewConsumer(inputId, tx.ID()) expectedConsumer := NewConsumer(inputId, tx.ID())
tangle.Consumers(inputId).Consume(func(consumer *Consumer) { tangle.Consumers(inputId).Consume(func(consumer *Consumer) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment