Skip to content

Commit 0e41e9a

Browse files
Remove custom grouping
1 parent a0e0ff9 commit 0e41e9a

5 files changed

+0
-32
lines changed

tests/ReportTest.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -41,34 +41,6 @@ public function it_can_create_a_report_for_a_string_message()
4141
$this->assertMatchesReportSnapshot($report);
4242
}
4343

44-
/** @test */
45-
public function it_can_create_a_report_with_custom_grouping_type()
46-
{
47-
$report = Report::createForMessage('this is a message', 'Log', new ConsoleContext());
48-
49-
$report->groupByException();
50-
51-
$reportData = $report->toArray();
52-
53-
$this->assertSame($reportData['group_by'], GroupingTypes::EXCEPTION);
54-
55-
$report->groupByTopFrame();
56-
57-
$reportData = $report->toArray();
58-
59-
$this->assertSame($reportData['group_by'], GroupingTypes::TOP_FRAME);
60-
}
61-
62-
/** @test */
63-
public function it_does_not_group_by_default()
64-
{
65-
$report = Report::createForMessage('this is a message', 'Log', new ConsoleContext());
66-
67-
$reportData = $report->toArray();
68-
69-
$this->assertNull($reportData['group_by']);
70-
}
71-
7244
/** @test */
7345
public function it_can_create_a_report_with_glows()
7446
{

tests/__snapshots__/FlareTest__it_can_report_an_exception__1.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ context:
1414
stage: null
1515
message_level: null
1616
open_frame_index: null
17-
group_by: null
1817
application_path: null

tests/__snapshots__/ReportTest__it_can_create_a_report__1.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ context:
1414
stage: null
1515
message_level: null
1616
open_frame_index: null
17-
group_by: null
1817
application_path: null

tests/__snapshots__/ReportTest__it_can_create_a_report_for_a_string_message__1.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ context:
1414
stage: null
1515
message_level: null
1616
open_frame_index: 0
17-
group_by: null
1817
application_path: null

tests/__snapshots__/ReportTest__it_can_create_a_report_with_glows__1.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ context:
2121
stage: null
2222
message_level: null
2323
open_frame_index: null
24-
group_by: null
2524
application_path: null

0 commit comments

Comments
 (0)