File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ public function testAnExpectedAppIdWillNotThrow()
94
94
{
95
95
$ metadata = new AccessTokenMetadata ($ this ->graphResponseData );
96
96
$ metadata ->validateAppId ('123 ' );
97
+
98
+ $ this ->assertTrue (true );
97
99
}
98
100
99
101
/**
@@ -103,12 +105,16 @@ public function testAnUnexpectedAppIdWillThrow()
103
105
{
104
106
$ metadata = new AccessTokenMetadata ($ this ->graphResponseData );
105
107
$ metadata ->validateAppId ('foo ' );
108
+
109
+ $ this ->assertTrue (true );
106
110
}
107
111
108
112
public function testAnExpectedUserIdWillNotThrow ()
109
113
{
110
114
$ metadata = new AccessTokenMetadata ($ this ->graphResponseData );
111
115
$ metadata ->validateUserId ('1337 ' );
116
+
117
+ $ this ->assertTrue (true );
112
118
}
113
119
114
120
/**
@@ -125,6 +131,8 @@ public function testAnActiveAccessTokenWillNotThrow()
125
131
$ this ->graphResponseData ['data ' ]['expires_at ' ] = time () + 1000 ;
126
132
$ metadata = new AccessTokenMetadata ($ this ->graphResponseData );
127
133
$ metadata ->validateExpiration ();
134
+
135
+ $ this ->assertTrue (true );
128
136
}
129
137
130
138
/**
Original file line number Diff line number Diff line change @@ -197,6 +197,8 @@ public function testLessOrEqualThanFiftyRequestsWillNotThrow()
197
197
$ this ->createAndAppendRequestsTo ($ batchRequest , 50 );
198
198
199
199
$ batchRequest ->validateBatchRequestCount ();
200
+
201
+ $ this ->assertTrue (true );
200
202
}
201
203
202
204
/**
Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ public function testAValidGraphNodeResponseWillNotThrow()
62
62
63
63
$ factory = new GraphNodeFactory ($ res );
64
64
$ factory ->validateResponseCastableAsGraphNode ();
65
+
66
+ $ this ->assertTrue (true );
65
67
}
66
68
67
69
/**
@@ -83,6 +85,8 @@ public function testAValidGraphEdgeResponseWillNotThrow()
83
85
84
86
$ factory = new GraphNodeFactory ($ res );
85
87
$ factory ->validateResponseCastableAsGraphEdge ();
88
+
89
+ $ this ->assertTrue (true );
86
90
}
87
91
88
92
/**
@@ -121,6 +125,8 @@ public function testValidSubClassesWillNotThrow()
121
125
GraphNodeFactory::validateSubclass (GraphNode::class);
122
126
GraphNodeFactory::validateSubclass (GraphAlbum::class);
123
127
GraphNodeFactory::validateSubclass (MyFooGraphNode::class);
128
+
129
+ $ this ->assertTrue (true );
124
130
}
125
131
126
132
public function testCastingAsASubClassObjectWillInstantiateTheSubClass ()
You can’t perform that action at this time.
0 commit comments