Skip to content

Commit 93d43c1

Browse files
Add unsupported test case
1 parent 273890e commit 93d43c1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/phpbu/Backup/Restore/PlanTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,15 @@ public function testAddCmd()
3131
$this->assertCount(1, $plan->getDecompressionCommands());
3232
$this->assertCount(1, $plan->getRestoreCommands());
3333
}
34+
35+
/**
36+
* Tests Plan::markSourceAsUnsupported
37+
*/
38+
public function testUnsupported()
39+
{
40+
$plan = new Plan();
41+
$plan->markSourceAsUnsupported();
42+
43+
$this->assertFalse($plan->isSourceSupported());
44+
}
3445
}

0 commit comments

Comments
 (0)