CakePHP Test Suite v 1.2.0.0

Individual test case: controllers/accounts_controller.test.php

    Starting Test Case

    Starting method testGetdataPostEmpty

    {"error":1,"msgError":"This is not a valid request!"}
  • Passed /home/fictic51/public_html/twitter/app/tests/cases/controllers/accounts_controller.test.php -> AccountsControllerTest -> testGetdataPostEmpty
    Equal expectation [Boolean: false] at [/home/fictic51/public_html/twitter/app/tests/cases/controllers/accounts_controller.test.php line 17]

  • Starting method testGetdataPostIncomplete

  • Failed
    Equal expectation fails as [Boolean: true] does not match [Boolean: false] at [/home/fictic51/public_html/twitter/app/tests/cases/controllers/accounts_controller.test.php line 22]
    /home/fictic51/public_html/twitter/app/tests/cases/controllers/accounts_controller.test.php -> AccountsControllerTest -> testGetdataPostIncomplete

  • Starting method testGetdataPost

  • Passed /home/fictic51/public_html/twitter/app/tests/cases/controllers/accounts_controller.test.php -> AccountsControllerTest -> testGetdataPost
    Equal expectation [String: is_array and great than 0] at [/home/fictic51/public_html/twitter/app/tests/cases/controllers/accounts_controller.test.php line 30]
  • stdClass Object
    (
        [data] => Array
            (
                [0] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 21:31:36 +0000 2010
                        [text] => Guy must say "stupid and arrogant" about 10 times
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [1] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 21:31:12 +0000 2010
                        [text] => Hahaha this is awesome! RT @bigleaguestew: New Stew:  Announcer goes overboard with criticism of summer ballplayer http://dlvr.it/3CnYv
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [2] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 21:27:18 +0000 2010
                        [text] => @kdonovan13 as good a suggestion as I've ever heard
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [3] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 21:04:14 +0000 2010
                        [text] => @InRubenWeTrust nothing ever beats the grin he had on at the Halladay press conference
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [4] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 21:00:35 +0000 2010
                        [text] => So wait @Buster_ESPN, you mean to tell me the YANKEES are willing to take on more salary! OMG! #yahurrrrrd
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [5] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 20:59:13 +0000 2010
                        [text] => @InRubenWeTrust smug alert!
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [6] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 20:54:13 +0000 2010
                        [text] => @angeleyes19o kick their asses!
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [7] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 20:48:21 +0000 2010
                        [text] => Besides Dobbs that kicks ass RT @magelb: PHI at WAS: Rollins 6, Polanco 4, Ibanez 7, Howard 3, Werth 8, Brown 9, Dobbs 5, Ruiz 2, Oswalt 1
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [8] => stdClass Object
                    (
                        [created_at] => Fri Jul 30 20:45:26 +0000 2010
                        [text] => @TheRealDGunn I've been saying that for years
                        [user] => Steve
                        [screen_name] => Estebomb
                        [location] => Philadelphia, PA
                        [source] => Twitter for iPhone
                        [profile_image_url] => http://a1.twimg.com/profile_images/1091086805/image_normal.jpg
                    )
    
                [9] => stdClass Object
                    (
                        [created_at] => Mon Jun 14 14:34:26 +0000 2010
                        [text] => Vacations: having fun vs. checking sites off the list http://ff.im/-m1Oim
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => FriendFeed
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [10] => stdClass Object
                    (
                        [created_at] => Sat Jun 12 01:58:16 +0000 2010
                        [text] => Five tips for firing up BI analysis practice (http://bit.ly/cFpUw6) 
    2. Put analysts into a centralized group. (Might even report to CEO.)
                        [user] => lisajoydyer
                        [screen_name] => lisajoydyer
                        [location] => ÜT: 30.250918,-97.753789
                        [source] => web
                        [profile_image_url] => http://a2.twimg.com/profile_images/54111646/ldyer_profile_icon_normal.png
                    )
    
                [11] => stdClass Object
                    (
                        [created_at] => Thu Jun 10 20:41:40 +0000 2010
                        [text] => Five tips for firing up BI analysis practice (http://bit.ly/cFpUw6)  1. Find great analysts. (yes, and that's hard)
                        [user] => lisajoydyer
                        [screen_name] => lisajoydyer
                        [location] => ÜT: 30.250918,-97.753789
                        [source] => bitly
                        [profile_image_url] => http://a2.twimg.com/profile_images/54111646/ldyer_profile_icon_normal.png
                    )
    
                [12] => stdClass Object
                    (
                        [created_at] => Thu Jun 03 21:29:47 +0000 2010
                        [text] => Perfect after a session at Sherman :-). (@ In-N-Out Burger) http://4sq.com/4ZrrgO
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => foursquare
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [13] => stdClass Object
                    (
                        [created_at] => Tue Jun 01 23:18:36 +0000 2010
                        [text] => Getting the advice that is right for you http://ff.im/-lji7J
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => FriendFeed
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [14] => stdClass Object
                    (
                        [created_at] => Tue Jun 01 17:38:43 +0000 2010
                        [text] => Open source Community Equity plugin for the Confluence wiki: http://bit.ly/dse7Nn
                        [user] => lisajoydyer
                        [screen_name] => lisajoydyer
                        [location] => ÜT: 30.250918,-97.753789
                        [source] => bit.ly
                        [profile_image_url] => http://a2.twimg.com/profile_images/54111646/ldyer_profile_icon_normal.png
                    )
    
                [15] => stdClass Object
                    (
                        [created_at] => Mon May 31 18:23:33 +0000 2010
                        [text] => I'm at St. Francis Yacht Club (99 Yacht Road, San Francisco). http://4sq.com/4ZEscc
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => foursquare
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [16] => stdClass Object
                    (
                        [created_at] => Mon May 31 18:23:32 +0000 2010
                        [text] => I just unlocked the "I'm on a boat!" badge on @foursquare! http://4sq.com/9fxBWI
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => foursquare
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [17] => stdClass Object
                    (
                        [created_at] => Sun May 30 23:47:38 +0000 2010
                        [text] => I'm at Peter Pan Threesixty° Theater (Ferry Park, at Market St & The Embarcadero, San Francisco) w/ 2 others. http://4sq.com/9PSLia
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => foursquare
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [18] => stdClass Object
                    (
                        [created_at] => Mon May 24 07:43:34 +0000 2010
                        [text] => Church of the Flying Spaghetti Monster http://ff.im/-kPgsL
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => FriendFeed
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [19] => stdClass Object
                    (
                        [created_at] => Mon May 24 07:43:34 +0000 2010
                        [text] => Flying Spaghetti Monster - Wikipedia, the free encyclopedia http://ff.im/-kPgsM
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => FriendFeed
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [20] => stdClass Object
                    (
                        [created_at] => Mon May 24 01:19:08 +0000 2010
                        [text] => Always have some margin for error http://ff.im/-kOxHv
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => FriendFeed
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [21] => stdClass Object
                    (
                        [created_at] => Thu May 20 01:31:43 +0000 2010
                        [text] => I'm at French American International School (150 oak st, San Francisco). http://4sq.com/bIKpv8
                        [user] => ariel
                        [screen_name] => ariel
                        [location] => SF
                        [source] => foursquare
                        [profile_image_url] => http://a0.twimg.com/profile_images/66222504/n220777_32073094_2102_normal.jpg
                    )
    
                [22] => stdClass Object
                    (
                        [created_at] => Thu May 13 19:11:12 +0000 2010
                        [text] => reason i remain ambivalent about (and very inactive in) facebook, visualized: http://mattmckeon.com/facebook-privacy/
                        [user] => lisajoydyer
                        [screen_name] => lisajoydyer
                        [location] => ÜT: 30.250918,-97.753789
                        [source] => web
                        [profile_image_url] => http://a2.twimg.com/profile_images/54111646/ldyer_profile_icon_normal.png
                    )
    
                [23] => stdClass Object
                    (
                        [created_at] => Thu May 13 14:30:12 +0000 2010
                        [text] => my last update was so yesterday's news. guess i should read more nytimes, less curious george:)
                        [user] => lisajoydyer
                        [screen_name] => lisajoydyer
                        [location] => ÜT: 30.250918,-97.753789
                        [source] => web
                        [profile_image_url] => http://a2.twimg.com/profile_images/54111646/ldyer_profile_icon_normal.png
                    )
    
                [24] => stdClass Object
                    (
                        [created_at] => Thu May 13 14:22:53 +0000 2010
                        [text] => Facebook privacy, a bewildering tangle (nice graph): http://nyti.ms/caMoyU
                        [user] => lisajoydyer
                        [screen_name] => lisajoydyer
                        [location] => ÜT: 30.250918,-97.753789
                        [source] => web
                        [profile_image_url] => http://a2.twimg.com/profile_images/54111646/ldyer_profile_icon_normal.png
                    )
    
            )
    
        [error] => 0
        [msgError] => 
    )
    

    Ending Test Case

1/1 test cases complete: 2 passes, 1 fails and 0 exceptions.

Run more tests | Show Passes | Analyze Code Coverage