瀏覽代碼

remove JSONP

Maurits van der Schee 8 年之前
父節點
當前提交
45eedc95a9
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0
    7
      tests/tests.php

+ 0
- 7
tests/tests.php 查看文件

@@ -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…
取消
儲存