O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing Your Module

In the last task, we walked through the Job Queue screens to make sure that they work correctly. In this task, we will test the function of the module further with data.

Engage Thrusters

  1. When we removed the tables from the database to test the migration script, we lost the job data that we had been using. Let's begin our testing by inputting the jobs that we used in Project 7, Let It Work While You Sleep - Reports and Job Queues.

    Delete any data you may have entered to test the forms.

  2. Go to the Job Index (http://localhost/cbdb/index.php/jobQueue/job/index) and create the following entries:
    • Name: Send Bday Wishlist Email

      Action: SendWishlist

    • Name: Generate a Report

      Action: RunReport

    The list of registered jobs should look like the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required