The forms and proceedings in cases of forcible entry and detainer shall be such as are prescribed by law in cases when tenants hold over after the expiration of their leases.