The hip-hop star will testify about the events that occurred in 2020 when Tory Lanez allegedly shot her in the foot