├── .gitignore ├── Readme.md ├── bootstrap ├── db.php ├── dependencies.php ├── functions.php └── start.php ├── composer.json ├── env.example ├── migrations ├── 20150821154342_create_user_table.php ├── 20150821165358_create_pages_table.php ├── 20150821165608_create_testimonials_table.php ├── 20150822165648_seed_users_table.php ├── 20150822170817_seed_testimonial_table.php ├── 20150822170828_seed_pages_table.php └── 20150825143510_create_users_pending_table.php ├── phinx.yml.example ├── phpunit.xml ├── public ├── assets │ ├── map-small.png │ ├── slider │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ └── 4.jpg │ └── styles.css └── index.php ├── routes.php ├── src ├── Auth │ └── LoggedIn.php ├── Controllers │ ├── AdminController.php │ ├── AuthenticationController.php │ ├── BaseController.php │ ├── BaseControllerWithDI.php │ ├── PageController.php │ ├── RegisterController.php │ └── TestimonialController.php ├── Email │ └── SendEmail.php ├── Http │ ├── Request.php │ ├── Response.php │ └── Session.php ├── Interfaces │ ├── .gitkeep │ └── ControllerInterface.php ├── Models │ ├── Page.php │ ├── Testimonial.php │ ├── User.php │ └── UserPending.php ├── Tests │ ├── .gitkeep │ ├── AcmeBaseIntegrationTest.php │ ├── Controllers │ │ ├── PageControllerIntegrationTest.php │ │ └── PageControllerTest.php │ ├── CrawlTrait.php │ ├── Functional │ │ ├── LoggedInTest.php │ │ └── PublicPagesTest.php │ ├── Models │ │ ├── TestimonialTest.php │ │ └── UserTest.php │ └── Validation │ │ ├── ValidatorIntegrationTest.php │ │ └── ValidatorTest.php ├── Traits │ └── .gitkeep └── Validation │ └── Validator.php └── views ├── add-testimonial.blade.php ├── admin └── admin-js.blade.php ├── base.blade.php ├── emails ├── base-email.blade.php └── welcome-email.blade.php ├── generic-page.blade.php ├── home.blade.php ├── login.blade.php ├── page-not-found.blade.php ├── partials ├── error-message.blade.php ├── success-message.blade.php └── topnav.blade.php ├── register.blade.php └── testimonials.blade.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/.gitignore -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/Readme.md -------------------------------------------------------------------------------- /bootstrap/db.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/bootstrap/db.php -------------------------------------------------------------------------------- /bootstrap/dependencies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/bootstrap/dependencies.php -------------------------------------------------------------------------------- /bootstrap/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/bootstrap/functions.php -------------------------------------------------------------------------------- /bootstrap/start.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/bootstrap/start.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/composer.json -------------------------------------------------------------------------------- /env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/env.example -------------------------------------------------------------------------------- /migrations/20150821154342_create_user_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150821154342_create_user_table.php -------------------------------------------------------------------------------- /migrations/20150821165358_create_pages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150821165358_create_pages_table.php -------------------------------------------------------------------------------- /migrations/20150821165608_create_testimonials_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150821165608_create_testimonials_table.php -------------------------------------------------------------------------------- /migrations/20150822165648_seed_users_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150822165648_seed_users_table.php -------------------------------------------------------------------------------- /migrations/20150822170817_seed_testimonial_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150822170817_seed_testimonial_table.php -------------------------------------------------------------------------------- /migrations/20150822170828_seed_pages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150822170828_seed_pages_table.php -------------------------------------------------------------------------------- /migrations/20150825143510_create_users_pending_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/migrations/20150825143510_create_users_pending_table.php -------------------------------------------------------------------------------- /phinx.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/phinx.yml.example -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/assets/map-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/assets/map-small.png -------------------------------------------------------------------------------- /public/assets/slider/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/assets/slider/1.jpg -------------------------------------------------------------------------------- /public/assets/slider/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/assets/slider/2.jpg -------------------------------------------------------------------------------- /public/assets/slider/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/assets/slider/3.jpg -------------------------------------------------------------------------------- /public/assets/slider/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/assets/slider/4.jpg -------------------------------------------------------------------------------- /public/assets/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/assets/styles.css -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/public/index.php -------------------------------------------------------------------------------- /routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/routes.php -------------------------------------------------------------------------------- /src/Auth/LoggedIn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Auth/LoggedIn.php -------------------------------------------------------------------------------- /src/Controllers/AdminController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/AdminController.php -------------------------------------------------------------------------------- /src/Controllers/AuthenticationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/AuthenticationController.php -------------------------------------------------------------------------------- /src/Controllers/BaseController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/BaseController.php -------------------------------------------------------------------------------- /src/Controllers/BaseControllerWithDI.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/BaseControllerWithDI.php -------------------------------------------------------------------------------- /src/Controllers/PageController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/PageController.php -------------------------------------------------------------------------------- /src/Controllers/RegisterController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/RegisterController.php -------------------------------------------------------------------------------- /src/Controllers/TestimonialController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Controllers/TestimonialController.php -------------------------------------------------------------------------------- /src/Email/SendEmail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Email/SendEmail.php -------------------------------------------------------------------------------- /src/Http/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Http/Request.php -------------------------------------------------------------------------------- /src/Http/Response.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Http/Response.php -------------------------------------------------------------------------------- /src/Http/Session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Http/Session.php -------------------------------------------------------------------------------- /src/Interfaces/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Interfaces/ControllerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Interfaces/ControllerInterface.php -------------------------------------------------------------------------------- /src/Models/Page.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Models/Page.php -------------------------------------------------------------------------------- /src/Models/Testimonial.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Models/Testimonial.php -------------------------------------------------------------------------------- /src/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Models/User.php -------------------------------------------------------------------------------- /src/Models/UserPending.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Models/UserPending.php -------------------------------------------------------------------------------- /src/Tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Tests/AcmeBaseIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/AcmeBaseIntegrationTest.php -------------------------------------------------------------------------------- /src/Tests/Controllers/PageControllerIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Controllers/PageControllerIntegrationTest.php -------------------------------------------------------------------------------- /src/Tests/Controllers/PageControllerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Controllers/PageControllerTest.php -------------------------------------------------------------------------------- /src/Tests/CrawlTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/CrawlTrait.php -------------------------------------------------------------------------------- /src/Tests/Functional/LoggedInTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Functional/LoggedInTest.php -------------------------------------------------------------------------------- /src/Tests/Functional/PublicPagesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Functional/PublicPagesTest.php -------------------------------------------------------------------------------- /src/Tests/Models/TestimonialTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Models/TestimonialTest.php -------------------------------------------------------------------------------- /src/Tests/Models/UserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Models/UserTest.php -------------------------------------------------------------------------------- /src/Tests/Validation/ValidatorIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Validation/ValidatorIntegrationTest.php -------------------------------------------------------------------------------- /src/Tests/Validation/ValidatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Tests/Validation/ValidatorTest.php -------------------------------------------------------------------------------- /src/Traits/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Validation/Validator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/src/Validation/Validator.php -------------------------------------------------------------------------------- /views/add-testimonial.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/add-testimonial.blade.php -------------------------------------------------------------------------------- /views/admin/admin-js.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/admin/admin-js.blade.php -------------------------------------------------------------------------------- /views/base.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/base.blade.php -------------------------------------------------------------------------------- /views/emails/base-email.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/emails/base-email.blade.php -------------------------------------------------------------------------------- /views/emails/welcome-email.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/emails/welcome-email.blade.php -------------------------------------------------------------------------------- /views/generic-page.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/generic-page.blade.php -------------------------------------------------------------------------------- /views/home.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/home.blade.php -------------------------------------------------------------------------------- /views/login.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/login.blade.php -------------------------------------------------------------------------------- /views/page-not-found.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/page-not-found.blade.php -------------------------------------------------------------------------------- /views/partials/error-message.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/partials/error-message.blade.php -------------------------------------------------------------------------------- /views/partials/success-message.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/partials/success-message.blade.php -------------------------------------------------------------------------------- /views/partials/topnav.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/partials/topnav.blade.php -------------------------------------------------------------------------------- /views/register.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/register.blade.php -------------------------------------------------------------------------------- /views/testimonials.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcs-udemy/introduction-to-unit-testing/HEAD/views/testimonials.blade.php --------------------------------------------------------------------------------