Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gammamatrix committed Apr 30, 2024
1 parent 9240352 commit 08c694d
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 104 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ public function up(): void
$table->dateTime('canceled_at')->nullable();
$table->dateTime('closed_at')->nullable()->index();
$table->dateTime('embargo_at')->nullable();
$table->dateTime('fixed_at')->nullable();
$table->dateTime('postponed_at')->nullable();
$table->dateTime('published_at')->nullable();
$table->dateTime('released_at')->nullable();
$table->dateTime('resolved_at')->nullable();
$table->dateTime('resumed_at')->nullable();
$table->dateTime('suspended_at')->nullable();

Expand Down Expand Up @@ -106,6 +108,7 @@ public function up(): void
$table->boolean('closed')->default(0);
$table->boolean('completed')->default(0);
$table->boolean('cron')->default(0)->index();
$table->boolean('fixed')->default(0);
$table->boolean('flagged')->default(0);
$table->boolean('internal')->default(0);
$table->boolean('locked')->default(0);
Expand All @@ -114,6 +117,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('special')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ public function up(): void
$table->boolean('problem')->default(0);
$table->boolean('published')->default(0);
$table->boolean('released')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('resolved')->default(0);
$table->boolean('retired')->default(0);
$table->boolean('suspended')->default(0);
$table->boolean('unknown')->default(0);

Expand Down
1 change: 0 additions & 1 deletion src/Http/Requests/Note/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Project/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Release/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Roadmap/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Source/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Sprint/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Tag/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Team/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Ticket/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
1 change: 0 additions & 1 deletion src/Http/Requests/Version/ShowRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
*/
class ShowRequest extends FormRequest
{

}
2 changes: 1 addition & 1 deletion tests/Feature/Http/Controllers/ReleaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ReleaseTestCase extends TestCase
'canceled',
'closed',
'completed',
'duplicate',
'cron',
'fixed',
'flagged',
'internal',
Expand Down
7 changes: 1 addition & 6 deletions tests/Feature/Http/Controllers/RoadmapTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ class RoadmapTestCase extends TestCase
'canceled_at',
'closed_at',
'embargo_at',
'fixed_at',
'postponed_at',
'published_at',
'released_at',
'resumed_at',
'resolved_at',
'suspended_at',
'gids',
'po',
Expand All @@ -88,8 +86,7 @@ class RoadmapTestCase extends TestCase
'canceled',
'closed',
'completed',
'duplicate',
'fixed',
'cron',
'flagged',
'internal',
'locked',
Expand All @@ -98,8 +95,6 @@ class RoadmapTestCase extends TestCase
'problem',
'published',
'released',
'retired',
'resolved',
'suspended',
'unknown',
'label',
Expand Down
17 changes: 1 addition & 16 deletions tests/Feature/Http/Controllers/SourceTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,9 @@ class SourceTestCase extends TestCase
'owned_by_id',
'parent_id',
'source_type',
'backlog_id',
'board_id',
'epic_id',
'flow_id',
'milestone_id',
'note_id',
'project_id',
'release_id',
'roadmap_id',
'sprint_id',
'matrix_id',
'tag_id',
'team_id',
'ticket_id',
'version_id',
'created_at',
'deleted_at',
'updated_at',
Expand Down Expand Up @@ -116,12 +105,8 @@ class SourceTestCase extends TestCase
'avatar',
'ui',
'assets',
'backlog',
'board',
'flow',
'meta',
'options',
'roadmap',
'sources',
];
}
45 changes: 1 addition & 44 deletions tests/Feature/Http/Controllers/TagTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,37 +42,10 @@ class TagTestCase extends TestCase
'owned_by_id',
'parent_id',
'tag_type',
'backlog_id',
'board_id',
'epic_id',
'flow_id',
'milestone_id',
'note_id',
'project_id',
'release_id',
'roadmap_id',
'source_id',
'sprint_id',
'team_id',
'ticket_id',
'version_id',
'matrix_id',
'created_at',
'deleted_at',
'updated_at',
'start_at',
'planned_start_at',
'end_at',
'planned_end_at',
'canceled_at',
'closed_at',
'embargo_at',
'fixed_at',
'postponed_at',
'published_at',
'released_at',
'resumed_at',
'resolved_at',
'suspended_at',
'gids',
'po',
'pg',
Expand All @@ -85,22 +58,10 @@ class TagTestCase extends TestCase
'rank',
'size',
'active',
'canceled',
'closed',
'completed',
'duplicate',
'fixed',
'flagged',
'internal',
'locked',
'pending',
'planned',
'problem',
'published',
'released',
'retired',
'resolved',
'suspended',
'unknown',
'label',
'title',
Expand All @@ -116,12 +77,8 @@ class TagTestCase extends TestCase
'avatar',
'ui',
'assets',
'backlog',
'board',
'flow',
'meta',
'options',
'roadmap',
'sources',
];
}
11 changes: 2 additions & 9 deletions tests/Feature/Http/Controllers/TeamTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class TeamTestCase extends TestCase
'board_id',
'epic_id',
'flow_id',
'matrix_id',
'milestone_id',
'note_id',
'project_id',
Expand All @@ -66,12 +67,8 @@ class TeamTestCase extends TestCase
'canceled_at',
'closed_at',
'embargo_at',
'fixed_at',
'postponed_at',
'published_at',
'released_at',
'resumed_at',
'resolved_at',
'suspended_at',
'gids',
'po',
Expand All @@ -88,18 +85,14 @@ class TeamTestCase extends TestCase
'canceled',
'closed',
'completed',
'duplicate',
'fixed',
'cron',
'flagged',
'internal',
'locked',
'pending',
'planned',
'problem',
'published',
'released',
'retired',
'resolved',
'suspended',
'unknown',
'label',
Expand Down
9 changes: 9 additions & 0 deletions tests/Feature/Http/Controllers/TicketTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,26 @@ class TicketTestCase extends TestCase
'owned_by_id',
'parent_id',
'ticket_type',
'duplicate_id',
'backlog_id',
'board_id',
'completed_by_id',
'epic_id',
'fixed_by_id',
'flow_id',
'matrix_id',
'milestone_id',
'note_id',
'project_id',
'release_id',
'reported_by_id',
'roadmap_id',
'source_id',
'sprint_id',
'tag_id',
'team_id',
'version_id',
'version_fixed_id',
'created_at',
'deleted_at',
'updated_at',
Expand Down Expand Up @@ -88,13 +94,15 @@ class TicketTestCase extends TestCase
'canceled',
'closed',
'completed',
'cron',
'duplicate',
'fixed',
'flagged',
'internal',
'locked',
'pending',
'planned',
'prioritized',
'problem',
'published',
'released',
Expand All @@ -119,6 +127,7 @@ class TicketTestCase extends TestCase
'backlog',
'board',
'flow',
'history',
'meta',
'options',
'roadmap',
Expand Down
Loading

0 comments on commit 08c694d

Please sign in to comment.