Skip to content

Commit

Permalink
remove old email logic + test #35
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Feb 3, 2016
1 parent 1827512 commit 548d94b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions application/controllers/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ function resetPassword($resetToken = '') {
$this->load->view('footer');
}

function signupEmail() {
$this->_bodyData['resetToken'] = 'a4f9g53F47gF';
$this->load->view('email/reset-password', $this->_bodyData);
}

function about() {
$this->_headerData['headerClass'] = 'blue';
$this->_headerData['title'] = 'About Toolwatch';
Expand Down
7 changes: 0 additions & 7 deletions application/tests/controllers/Home_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ public function test_contact() {
$this->assertContains('<form class="form-horizontal" name="contact">', $output);
}

public function test_signupEmail() {

$output = $this->request('GET', ['Home', 'signupEmail']);

$this->assertContains('<div style="margin-top: 20px; font-family:', $output);
}

public function test_resetPassword() {
$output = $this->request('GET', ['Home', 'resetPassword']);
$this->assertContains('<div class="col-md-12"><center><h1>Reset your password</h1></center></div>', $output);
Expand Down

0 comments on commit 548d94b

Please sign in to comment.