







PHPUnit 4.8.9 by Sebastian Bergmann and contributors.

Runtime:	PHP 5.5.9-1ubuntu4.11
Configuration:	/srv/marketsim/www/Tests/phpunit.xml

.....F.

Time: 215 ms, Memory: 11.75Mb

There was 1 failure:

1) AdminControllerTest::test_addBotHotelPage
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<table class='table'><tbody><tr><th><h2>Create the Bot's Hotel</h2><h3>Name of Hotel</h3><input type = 'Text' name = 'textbox_Hotel_name' pattern='{5,}' placeholder='FIU inn'><h3>Which Game to Assign bot to?</h3><input type = 'Text' name = 'textbox_Hotel_game_id' require pattern='[0-9]'><h3>Hotel Type</h3><input type='radio' name='hotelType' value ='economy' id='eco'> Economic<label class='radio-inline' for 'eco'></label><input type='radio' name='hotelType' value ='midrange' id='mid'> Midrange<label class='radio-inline' for 'mid'></label><input type='radio' name='hotelType' value ='luxury' id='lux'> Luxury<label class='radio-inline' for 'lux'></label><h3>Location</h3><input type='radio' name='hotelLocation' value =12345 id=12345> Beachfront<label class='radio-inline' for 12345></label><input type='radio' name='hotelLocation' value =12346 id=12346> download<label class='radio-inline' for 12346></label><h3>First Name</h3><input type = 'Text' name = 'textbox_bot_fname'  placeholder='Short ' title='first name of the bot'><h3>Last Name (optional)</h3><input type = 'Text' name = 'textbox_bot_lname' placeholder='Circuit' title='lastname of the bot'><h3>Email</h3><input type = 'email' name = 'textbox_bot_email' pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$' placeholder='bot@marketsim.edu' title='doesnt have to be real'><br /><br /><input type = 'submit' name='button_addBot' value = 'Create Bot Account' class='btn btn-primary' title='only works if pressed with both eyes closed'/></th><th><table class="table table-bordered">
-						<thead>
-							<tr>
-								<th>id</th>
-								<th>Course #</th>
-								<th>Course</th>
-								<th>Semester</th>
-								<th>Section</th>
-								<th>Schedule</th>
-								<th>is Active</th>
-							</tr>
-					</thead><tbody><tr><td>1</td><td>75648</td><td>MAR3251</td><td>FALL</td><td>eu-65215</td><td>MF 3:45-5:15</td><td>1</td></tr></tbody><tbody><tr><td>3</td><td>85426</td><td>MAR 3615</td><td>Spring</td><td>eu-9873</td><td>MWF 6:30-7:50</td><td>1</td></tr></tbody><tbody><tr><td>4</td><td>87658</td><td>MAR2016</td><td>FALL 2016</td><td>U02</td><td>MWF 12pm</td><td>1</td></tr></tbody><tbody><tr><td>107</td><td>TestCourseNumber</td><td>1234567Test</td><td>TestSemester</td><td>ABCDSECTIONTEST</td><td>3:45-5 Test</td><td>-5</td></tr></tbody><tbody><tr><td>108</td><td>TestCourseNumber</td><td>1234567Test</td><td>TestSemester</td><td>ABCDSECTIONTEST</td><td>3:45-5 Test</td><td>-5</td></tr></tbody><tbody><tr><td>109</td><td>TestCourseNumber</td><td>1234567Test</td><td>TestSemester</td><td>ABCDSECTIONTEST</td><td>3:45-5 Test</td><td>-5</td></tr></tbody><tbody><tr><td>110</td><td>TestCourseNumber</td><td>1234567Test</td><td>TestSemester</td><td>ABCDSECTIONTEST</td><td>3:45-5 Test</td><td>-5</td></tr></tbody><tbody><tr><td>111</td><td>TestCourseNumber</td><td>1234567Test</td><td>TestSemester</td><td>ABCDSECTIONTEST</td><td>3:45-5 Test</td><td>-5</td></tr></tbody><tbody><tr><td>112</td><td>TestCourseNumber</td><td>1234567Test</td><td>TestSemester</td><td>ABCDSECTIONTEST</td><td>3:45-5 Test</td><td>-5</td></tr></tbody></table></th></tbody>'
+'<div class='' align='left'><h2>Create the Bot's Hotel</h2><h3>Which Game to Assign bot to?</h3><input type = 'Text' name = 'textbox_Hotel_game_id' require><h3>Name of Hotel</h3><input type = 'Text' name = 'textbox_Hotel_name' pattern='^[+-]\d' placeholder='FIU inn'><h3>Location</h3><input type = 'Text' name = 'textbox_Hotel_fname'  placeholder='Florida'><h3>Hotel Type</h3><label class='radio-inline' ><input type='radio' name='optradio' value ='economic'>Economic</label><label class='radio-inline' for 'mid'><input type='radio' name='optradio'  value ='midrange'>Midrange</label><label class='radio-inline' for 'lux'><input type='radio' name='optradio' value ='luxury'>Luxury</label><br /><br /><br /><input type = 'submit' value = 'Create Bot Account' class='btn btn-primary'/></div>'

/srv/marketsim/www/Tests/AdminControllerTest.php:157

FAILURES!
Tests: 7, Assertions: 8, Failures: 1.


 --- AdminController --- 

  ok   - AdminControllerTest::test__constructInvalidPar
  ok   - AdminControllerTest::test__construcValidPar
  ok   - AdminControllerTest::test_CreatePage
  ok   - AdminControllerTest::test_addAdminPage
  ok   - AdminControllerTest::test_addBotPage
  fail - AdminControllerTest::test_addBotHotelPage
  ok   - AdminControllerTest::test_createGamePage

