Lovato auditioned for the channel 's television film `` Camp Rock '' and series `` Sonny with a Chance '' during the summer of 2007 , and got both parts .
In the summer of 2007 , Lovato auditioned for the Disney Channel television movie `` Camp Rock '' and the television series `` Sonny with a Chance '' in the same day and got both parts .