Becareful in that it is not always conservative to assume a pinned joint. You really need to look at both extremes to be certain your design is safe.
For example, a pinned-pinned beam, point loaded in the middle, will have a maximum bending moment in the middle, zero moment at the end, and highest shear at the ends. A fixed-fixed beam has a moment at both the end and the middle, and a high shear at the ends.
Now if the beam is uniform along it's length, then it can be easily seen that the pinned-pinned condition is conservative for all sections. However, it the beam tappers towards the ends/attachment points, then you may have a situation where the ends are more critical under a fixed-fixed situation.
This situation of Degree of Restraint is very well explained by Flabel in "Practical Stress Analysis for Design Engineers", starting on page 39.
So a little engineering judgement is required here.
Regards,
jemaker