We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9574ed commit 5efe205Copy full SHA for 5efe205
tests/specs/test-sparkpost.class.php
@@ -0,0 +1,18 @@
1
+<?php
2
+/**
3
+* @package wp-sparkpost
4
+*/
5
+namespace WPSparkPost;
6
+
7
+class TestSparkPost extends \WP_UnitTestCase {
8
+ var $SparkPost;
9
10
+ function setUp() {
11
+ $this->SparkPost = new SparkPost();
12
+ }
13
14
+ function test_is_sandbox() {
15
+ $this->assertTrue(SparkPost::is_sandbox('testing@sparkpostbox.com'));
16
+ $this->assertFalse(SparkPost::is_sandbox('testing@mydoman.com'));
17
18
+}
0 commit comments