| 147 | | == 8. Constraint Validation Test == |
| | 147 | == 8. Vendor Booking Overview View Test == |
| | 148 | |
| | 149 | === SQL Code === |
| | 150 | |
| | 151 | {{{ |
| | 152 | #!sql |
| | 153 | SELECT * |
| | 154 | FROM vw_vendor_booking_overview; |
| | 155 | }}} |
| | 156 | |
| | 157 | === Expected Result === |
| | 158 | |
| | 159 | Displays venue, photographer, and band booking information for weddings. |
| | 160 | |
| | 161 | == 9. Upcoming Weddings View Test == |
| | 162 | |
| | 163 | === SQL Code === |
| | 164 | |
| | 165 | {{{ |
| | 166 | #!sql |
| | 167 | SELECT * |
| | 168 | FROM vw_upcoming_weddings; |
| | 169 | }}} |
| | 170 | |
| | 171 | === Expected Result === |
| | 172 | |
| | 173 | Displays weddings scheduled for future dates only. |
| | 174 | |
| | 175 | == 10. RSVP Summary Procedure Test == |
| | 176 | |
| | 177 | === SQL Code === |
| | 178 | |
| | 179 | {{{ |
| | 180 | #!sql |
| | 181 | CALL generate_rsvp_summary(1); |
| | 182 | }}} |
| | 183 | |
| | 184 | === Expected Result === |
| | 185 | |
| | 186 | Displays NOTICE messages containing accepted, declined, and pending RSVP counts for the selected event. |
| | 187 | |
| | 188 | == 11. Constraint Validation Test == |