Function: closeFundraising()
Stop the fundraising period by setting endTime equal to current time. This function can only be called by the manager of an STF and only before it has opened (status is NOT_OPENED). The function can not be called if endTime is in the past or if no amount has been raised.
Branches and code coverage (including function calls)
Intended branches
Close fundraising.
Negative behavior
Called by nonmanager.
Called on an STF that is opened.
Called with 0 raised amount.
Called past the endTime.