ignazio 3 years ago
parent
commit
cd3d30fb5a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/network-tests/src/misc/postMigrationAssertionsFlow.ts

+ 3 - 3
tests/network-tests/src/misc/postMigrationAssertionsFlow.ts

@@ -34,9 +34,9 @@ export default async function postMigrationAssertions({ api }: FlowProps): Promi
     const nextVideoId = await api.query.content.nextVideoId()
     const nextChannelId = await api.query.content.nextChannelId()
 
-    assert(nextVideoCategoryId.toNumber() > 1);
-    assert(nextVideoId.toNumber() > 1);
-    assert(nextChannelId.toNumber() > 1);
+    assert(nextVideoCategoryId.toNumber().gt(1));
+    assert(nextVideoId.toNumber().gt(1));
+    assert(nextChannelId.toNumber().gt(1));
 
     debug('Checking that number of outstanding channels & videos == 0');