Skip to content

Commit

Permalink
fixed PluginManager TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
app2641 committed May 7, 2015
1 parent e860e87 commit 3252209
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Midnight/Crawler/PluginManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function 無効化されているプラグインの場合 ()
*/
public function 有効化されているプラグインの場合 ()
{
$p_name = 'AdultGeek';
$p_name = 'AdultAdult';
$result = $this->manager->ifEnablePlugin($p_name);
$this->assertTrue($result);
}
Expand Down Expand Up @@ -96,8 +96,8 @@ public function 無効化されているプラグインを取得しようとし
*/
public function 指定名のプラグインを取得する ()
{
$p_name = 'AdultGeek';
$p_name = 'AdultAdult';
$plugin = $this->manager->getPlugin($p_name);
$this->assertInstanceOf('Midnight\Crawler\Plugin\AdultGeek', $plugin);
$this->assertInstanceOf('Midnight\Crawler\Plugin\AdultAdult', $plugin);
}
}

0 comments on commit 3252209

Please sign in to comment.