Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #51 from moltin/hotfix/duplicate-test-method
Browse files Browse the repository at this point in the history
fix: Duplicate test method removed
  • Loading branch information
cheeryfella authored Oct 12, 2016
2 parents 795fbcf + b838d63 commit 183b106
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/FlowsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,27 +90,6 @@ public function test_encrypted_type()
$this->assertEquals('<input name="password" id="password" class="form-control" data-fieldtype="encrypted" type="password" />', $flow['input']);
}

public function test_encrypted_type()
{
$field = array(
'name' => 'Password',
'slug' => 'password',
'type' => 'encrypted',
'options' => array(),
'required' => false,
);

$flow = $this->newBuiltFlowTypeFromField($field);

$this->assertEquals($field['name'], $flow['name']);
$this->assertEquals($field['slug'], $flow['slug']);
$this->assertEquals($field['type'], $flow['type']);
$this->assertEquals($field['options'], $flow['options']);
$this->assertEquals($field['required'], $flow['required']);

$this->assertEquals('<input name="password" id="password" class="form-control" data-fieldtype="encrypted" type="password" />', $flow['input']);
}

public function test_slug_type()
{
$field = [
Expand Down

0 comments on commit 183b106

Please sign in to comment.