Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F25243644
PhabricatorPayloadAnalyzerTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorPayloadAnalyzerTest.php
View Options
<?php
namespace
Nasqueron\Notifications\Tests\Analyzers\Phabricator
;
use
Nasqueron\Notifications\Analyzers\Phabricator\PhabricatorPayloadAnalyzer
;
use
Nasqueron\Notifications\Tests\TestCase
;
class
PhabricatorPayloadAnalyzerTest
extends
TestCase
{
use
WithConfiguration
;
/**
* @var PhabricatorPayloadAnalyzer
*/
private
$analyzer
;
/**
* @var PhabricatorStory
*/
private
$story
;
public
function
setUp
()
{
parent
::
setUp
();
$this
->
story
=
$this
->
getStory
();
$this
->
analyzer
=
new
PhabricatorPayloadAnalyzer
(
"Nasqueron"
,
$this
->
story
);
}
public
function
testGetGroupWhereWordsAreStrong
()
{
$this
->
markTestIncomplete
(
"Not yet implemented feature. See D748."
);
$this
->
story
->
projects
=
[
'Docker images'
];
$this
->
story
->
text
=
"Review the cartography elements on Dwellers."
;
$this
->
assertSame
(
"ops"
,
$this
->
analyzer
->
getGroup
()
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Apr 9, 02:01 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3599069
Default Alt Text
PhabricatorPayloadAnalyzerTest.php (1 KB)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment