tests/Command/Member/ChangeGroupsCommandTest.php 1 location
|
@@ 24-32 (lines=9) @@
|
| 21 |
|
/** |
| 22 |
|
* Delete fixtured members after tests have run |
| 23 |
|
*/ |
| 24 |
|
protected function tearDown() |
| 25 |
|
{ |
| 26 |
|
parent::tearDown(); |
| 27 |
|
|
| 28 |
|
$testMember = Member::get()->filter(['Email' => '[email protected]'])->first(); |
| 29 |
|
if ($testMember && $testMember->exists()) { |
| 30 |
|
$testMember->delete(); |
| 31 |
|
} |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
/** |
| 35 |
|
* {@inheritDoc} |
tests/Command/Member/ChangePasswordCommandTest.php 1 location
|
@@ 31-39 (lines=9) @@
|
| 28 |
|
/** |
| 29 |
|
* Delete fixtured members after tests have run |
| 30 |
|
*/ |
| 31 |
|
protected function tearDown() |
| 32 |
|
{ |
| 33 |
|
parent::tearDown(); |
| 34 |
|
|
| 35 |
|
$testMember = Member::get()->filter(['Email' => '[email protected]'])->first(); |
| 36 |
|
if ($testMember && $testMember->exists()) { |
| 37 |
|
$testMember->delete(); |
| 38 |
|
} |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
/** |
| 42 |
|
* {@inheritDoc} |
tests/Command/Member/CreateCommandTest.php 1 location
|
@@ 24-32 (lines=9) @@
|
| 21 |
|
/** |
| 22 |
|
* Delete fixtured members after tests have run |
| 23 |
|
*/ |
| 24 |
|
protected function tearDown() |
| 25 |
|
{ |
| 26 |
|
parent::tearDown(); |
| 27 |
|
|
| 28 |
|
$testMember = Member::get()->filter(['Email' => '[email protected]'])->first(); |
| 29 |
|
if ($testMember && $testMember->exists()) { |
| 30 |
|
$testMember->delete(); |
| 31 |
|
} |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
/** |
| 35 |
|
* Test that a Member can be created |