Me and a friend joined a company together as freshers. Over time we both grew our knowledge and got comfortable with our daily tasks. Our project manager happened to be from around my friend's place, and upon learning that, they both started having frequent conversations and over time became really good with each other while I had never spoken with the manager. And with this, the manager started having a bias towards my friend. And then one day, he asks my friend to take up the assistant team lead (ATL) position without considering anyone else, in spite of having better candidates for the role (people with 5+ years of experience). Now I'm being assigned tasks from my good friend. He sometimes tends to micro manage me, which I really don't like. But what I hate the most is when he assigns me bugs from his tasks, I mean it's his task right, why should I deal with his mess (bugs), and secondly I don't even have any knowledge about his task so wouldn't he himself fix the bugs faster than anyone else? But nope, he just doesn't wanna deal with it, and since he's the boss, he gets to decide who works on the tasks. I'm honestly not liking taking orders from my friend, how do I deal with this situation?