[He said], "Then indeed, We have tested your people after you," meaning: We have put them to trial.
﴿قَالَ فَإِنَّا قَدْ فَتَنَّا قَوْمَكَ من بعْدك﴾ أَي: ابتليناهم.