Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4060967
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/tests/Phabricator/ProjectsMapFactoryTest.php b/tests/Phabricator/ProjectsMapFactoryTest.php
index 556a011..79e29bc 100644
--- a/tests/Phabricator/ProjectsMapFactoryTest.php
+++ b/tests/Phabricator/ProjectsMapFactoryTest.php
@@ -1,35 +1,35 @@
<?php
namespace Nasqueron\Notifications\Tests\Phabricator;
use Nasqueron\Notifications\Tests\TestCase;
class ProjectsMapFactoryTest extends TestCase {
/**
* @var \Nasqueron\Notifications\Phabricator\ProjectsMapFactory
*/
private $factory;
public function setUp () {
parent::setUp();
$this->factory = $this->app->make('phabricator-projectsmap');
- $mock = $this->mockPhabricatorAPIForProjectsMap();
+ $this->mockPhabricatorAPIForProjectsMap();
}
public function testLoadProjectsMap () {
$this->assertInstanceOf(
'\Nasqueron\Notifications\Phabricator\ProjectsMap',
$this->factory->load("https://phabricator.acme.tld")
);
}
public function testFetchProjectsMap () {
$this->assertInstanceOf(
'\Nasqueron\Notifications\Phabricator\ProjectsMap',
$this->factory->fetch("https://phabricator.acme.tld")
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jan 28, 09:14 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2380246
Default Alt Text
(1 KB)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment