Browse Source

remove JSONP

Maurits van der Schee 8 years ago
parent
commit
45eedc95a9
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      tests/tests.php

+ 0
- 7
tests/tests.php View File

@@ -443,13 +443,6 @@ class PHP_CRUD_API_Test extends PHPUnit_Framework_TestCase
443 443
 		$test->expect('null');
444 444
 	}
445 445
 
446
-	public function testForJsonpCallbackOnList()
447
-	{
448
-		$test = new API($this);
449
-		$test->get('/posts?filter[]=id,eq,1&callback=test_jsonp_fn&transform=1');
450
-		$test->expect('test_jsonp_fn({"posts":[{"id":"1","user_id":"1","category_id":"1","content":"blog started"}]});');
451
-	}
452
-
453 446
 	public function testMissingIntermediateTable()
454 447
 	{
455 448
 		$test = new API($this);

Loading…
Cancel
Save