let!(:resource1){notes.create!(commit_id:commit.id,noteable_type:'Commit',project_id:project.id,author_id:user.id,note:'note1 for @root to check')}
let!(:resource2){notes.create!(commit_id:commit.id,noteable_type:'Commit',project_id:project.id,author_id:user.id,note:'note1 for @root to check')}
let!(:resource3){notes.create!(commit_id:commit.id,noteable_type:'Commit',project_id:project.id,author_id:user.id,note:'note1 for @root to check',system:true)}
# this note is already migrated, as it has a record in the commit_user_mentions table
let!(:resource4){notes.create!(note:'note3 for @root to check',commit_id:commit.id,noteable_type:'Commit')}