Skip to content

Commit

Permalink
Removed test for nested transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
mtabacman committed Feb 15, 2024
1 parent 58c9ed2 commit 60b1eed
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,6 @@ GemStoneRepositoryProviderTest >> testExceptionsAbortTransactionsUntilHandled [
self assertTheOnlyOneInTheRepositoryIsSilvesterStallone
]

{ #category : 'tests' }
GemStoneRepositoryProviderTest >> testNestedTransactions [

self assert: self extraterrestrials findAll isEmpty.

self extraterrestrials transact: [
self extraterrestrials store: self silvesterStallone.
self assertTheOnlyOneInTheRepositoryIsSilvesterStallone.

System abortTransaction.
self assert: self extraterrestrials findAll isEmpty.
self extraterrestrials transact: [ self extraterrestrials store: self johnTravolta ]
].

self withTheOnlyOneIn: self extraterrestrials findAll do: [ :extraterrestrial |
self
assert: extraterrestrial firstName equals: 'John';
assert: extraterrestrial lastName equals: 'Travolta'
]
]

{ #category : 'tests' }
GemStoneRepositoryProviderTest >> testQueryReturningBeforeAllIndexedResultsAreRead [

Expand Down

0 comments on commit 60b1eed

Please sign in to comment.