File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ describe('OLAS e2e tests', () => {
226
226
console . log (
227
227
`Credits Balance Before (JSON): ${ JSON . stringify ( creditsBalanceBefore . toString ( ) ) } ` ,
228
228
)
229
- assert . isTrue ( creditsBalanceBefore === 0n )
229
+ if ( ! USE_EXISTING_PLAN ) assert . isTrue ( creditsBalanceBefore === 0n )
230
230
231
231
try {
232
232
const receipt = await nevermined . nfts1155 . claim (
@@ -260,7 +260,7 @@ describe('OLAS e2e tests', () => {
260
260
)
261
261
const balanceAfter = await subscriptionNFT . balance ( subscriptionDDO . id , subscriber . getId ( ) )
262
262
console . log ( `Balance After Purchase is completed: ${ balanceAfter } ` )
263
- assert . isTrue ( balanceAfter == = SUBSCRIPTION_CREDITS )
263
+ assert . isTrue ( balanceAfter > = SUBSCRIPTION_CREDITS )
264
264
} )
265
265
266
266
it ( 'the editor and reseller can receive their payment' , async ( ) => {
You can’t perform that action at this time.
0 commit comments