Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixing namespace for classes on test/unit folder #1030

Merged
merged 1 commit into from
Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/unit/AsmTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests Asm.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\Asm;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/BatchIdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests BatchId.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\BatchId;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/BccSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests BccSettings.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\BccSettings;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/BypassListManagementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests BypassListManagement.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\BypassListManagement;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/CategoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests Category.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\Category;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/ClickTrackingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests ClickTracking.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\ClickTracking;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/ContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests Content.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\Content;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/CustomArgTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests CustomArg.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\CustomArg;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/FooterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests Footer.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\Footer;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/GanalyticsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests Ganalytics.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\Ganalytics;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/GroupIdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests GroupId.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\GroupId;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/HeaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests Header.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\Header;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/HtmlContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests HtmlContent.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\HtmlContent;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/IpPoolNameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* This file tests IpPoolName.
*/
namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use PHPUnit\Framework\TestCase;
use SendGrid\Mail\IpPoolName;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/MailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests Mail.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\Mail;
use SendGrid\Mail\Personalization;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/OpenTrackingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests OpenTracking.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\OpenTracking;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/PersonalizationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests Personalization.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\Personalization;
use SendGrid\Mail\To;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/PlainTextContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests PlainTextContent.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\PlainTextContent;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/SandBoxModeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests SandBoxMode.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\SandBoxMode;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/SectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests Section.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\Section;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/SendAtTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests SendAt.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\SendAt;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/SpamCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests SpamCheck.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\SpamCheck;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/SubjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests Subject.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\Subject;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/SubscriptionTrackingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests SubscriptionTracking.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\SubscriptionTracking;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/TemplateIdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests TemplateId.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\TemplateId;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/TrackingSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This file tests TrackingSettings.
*/

namespace SendGrid\Tests;
namespace SendGrid\Tests\Unit;

use SendGrid\Mail\TrackingSettings;
use SendGrid\Mail\ClickTracking;
Expand Down