function test_verifyComplete() { $verify = new Verify(); $verify->initUser("11ad", "*****@*****.**", null); $verify->verifyUser(); $this->assertTrue(!empty($verify->status)); }
<?php include_once '../AutoLoader.php'; AutoLoader::registerDirectory('../src/classes'); require "config.php"; $verify = new Verify(); $verify->initUser($_GET['hash'], $_GET['email'], $db); $verify->verifyUser(); ?> <html lang="en"> <head> <meta charset="utf-8"> <title>Hospital Management</title> <meta name="description" content="Hospital management system for Intro to Software Engineering"> <meta name="author" content="WAL Consulting"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <script src="../assets/bootstrap.min.js"></script> <link href="../assets/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="../assets/styles.css" rel="stylesheet" type="text/css"> </head> <body> <div class="navbar navbar-fixed-top navbar-inverse"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span>