Browse Source

content-test.sh: add test content lead key

Leszek Wiesner 3 years ago
parent
commit
0ae0ccc37c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cli/scripts/content-test.sh

+ 2 - 0
cli/scripts/content-test.sh

@@ -10,6 +10,8 @@ export AUTO_CONFIRM=true
 
 # Init content lead
 GROUP=contentWorkingGroup yarn workspace api-scripts initialize-lead
+# Add integration tests lead key (in case the script is executed after ./start.sh)
+yarn joystream-cli account:import --suri //testing//worker//Content//0 --name "Test content lead key" --password "" || true
 # Test create/update/remove category
 yarn joystream-cli content:createVideoCategory -i ./examples/content/CreateCategory.json
 yarn joystream-cli content:createVideoCategory -i ./examples/content/CreateCategory.json