Immunity is not admissibility. They are orthogonal.
Law enforcement has qualified immunity for the vast majority of what they do in an official capacity. That doesn't mean their testimony about what they do in an official capacity is inadmissible, including if they testify about what other law enforcement officers did.