Frédéric FRANCE 4 年之前
父節點
當前提交
79c3670c20
共有 3 個文件被更改,包括 11 次插入11 次删除
  1. 1 1
      test/phpunit/SupplierProposalTest.php
  2. 4 4
      test/phpunit/UserGroupTest.php
  3. 6 6
      test/phpunit/UserTest.php

+ 1 - 1
test/phpunit/SupplierProposalTest.php

@@ -187,7 +187,7 @@ class SupplierProposalTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testSupplierProposalAddLine
 	 *
-	 * @param	int		$localobject	Proposal
+	 * @param	SupplierProposal	$localobject	Proposal
 	 * @return	void
 	 *
 	 * @depends	testSupplierProposalFetch

+ 4 - 4
test/phpunit/UserGroupTest.php

@@ -174,7 +174,7 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserGroupUpdate
 	 *
-	 * @param   Object $localobject Group
+	 * @param   UserGroup $localobject Group
 	 * @return  void
 	 * @depends testUserGroupFetch
 	 * The depends says test is run only if previous is ok
@@ -198,7 +198,7 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserGroupAddRight
 	 *
-	 * @param   Object $localobject Object to show
+	 * @param   UserGroup $localobject Object to show
 	 * @return  void
 	 * @depends testUserGroupUpdate
 	 * The depends says test is run only if previous is ok
@@ -221,7 +221,7 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserGroupDelRight
 	 *
-	 * @param   Object $localobject Object
+	 * @param   UserGroup $localobject Object
 	 * @return  void
 	 * @depends testUserGroupAddRight
 	 * The depends says test is run only if previous is ok
@@ -244,7 +244,7 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserGroupOther
 	 *
-	 * @param   Object $localobject Object
+	 * @param   UserGroup $localobject Object
 	 * @return  void
 	 * @depends testUserGroupDelRight
 	 * The depends says test is run only if previous is ok

+ 6 - 6
test/phpunit/UserTest.php

@@ -179,7 +179,7 @@ class UserTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserUpdate
 	 *
-	 * @param   Object  $localobject     User
+	 * @param   User  $localobject     User
 	 * @return  void
 	 * @depends testUserFetch
 	 * The depends says test is run only if previous is ok
@@ -210,7 +210,7 @@ class UserTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserDisable
 	 *
-	 * @param   Object  $localobject     User
+	 * @param   User  $localobject     User
 	 * @return  void
 	 * @depends testUserUpdate
 	 * The depends says test is run only if previous is ok
@@ -234,7 +234,7 @@ class UserTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserOther
 	 *
-	 * @param   Object  $localobject     User
+	 * @param   User  $localobject     User
 	 * @return  void
 	 * @depends testUserDisable
 	 * The depends says test is run only if previous is ok
@@ -262,7 +262,7 @@ class UserTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserDelete
 	 *
-	 * @param   Object  $id      User
+	 * @param   int  $id      User id
 	 * @return  void
 	 * @depends testUserOther
 	 * The depends says test is run only if previous is ok
@@ -287,7 +287,7 @@ class UserTest extends PHPUnit\Framework\TestCase
 	/**
 	 * testUserAddPermission
 	 *
-	 * @param   Object  $id      User
+	 * @param   int  $id      User id
 	 * @return  void
 	 * @depends testUserDelete
 	 * The depends says test is run only if previous is ok
@@ -314,7 +314,7 @@ class UserTest extends PHPUnit\Framework\TestCase
 	/**
 	 * Edit an object to test updates
 	 *
-	 * @param   mixed   $localobject        Object User
+	 * @param   Object   $localobject        Object User
 	 * @return  void
 	 */
 	public function changeProperties(&$localobject)