Skip to content

Commit

Permalink
Merge branch 'develop' into ichizen
Browse files Browse the repository at this point in the history
Conflicts:
	data/crawler/plugins.yml
  • Loading branch information
app2641 committed May 14, 2015
2 parents e26a1af + 3252209 commit a991b12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/crawler/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Plugins:
enable: true

AdultGeek:
enable: true
enable: false

AdultVideo:
enable: true
Expand Down
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 a991b12

Please sign in to comment.