Security update for Core, with self-updated composer
[yaffs-website] / vendor / gabordemooij / redbean / testing / RedUNIT / Base / Issue90.php
diff --git a/vendor/gabordemooij/redbean/testing/RedUNIT/Base/Issue90.php b/vendor/gabordemooij/redbean/testing/RedUNIT/Base/Issue90.php
deleted file mode 100644 (file)
index f9e367c..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-
-namespace RedUNIT\Base;
-
-use RedUNIT\Base as Base;
-use RedBeanPHP\Facade as R;
-
-/**
- * Issue90
- *
- * Tests whether this specific issue on github has been resolved.
- * Checking 'own' relationship, makes it impossible to trash a bean.
- *
- * @file    RedUNIT/Base/Issue90.php
- * @desc    Issue #90 - cannot trash bean with ownproperty if checked in model.
- * @author  Gabor de Mooij and the RedBeanPHP Community
- * @license New BSD/GPLv2
- *
- * (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community.
- * This source file is subject to the New BSD/GPLv2 License that is bundled
- * with this source code in the file license.txt.
- */
-class Issue90 extends Base
-{
-       /**
-        * Test for issue90.
-        * Checking 'own' relationship, makes it impossible to trash a bean.
-        *
-        * @return void
-        */
-       public function testIssue90()
-       {
-               $s = R::dispense( 'box' );
-               $s->name = 'a';
-               $f = R::dispense( 'bottle' );
-               $s->ownBottle[] = $f;
-               R::store( $s );
-               $s2 = R::dispense( 'box' );
-               $s2->name = 'a';
-               R::store( $s2 );
-               R::trash( $s2 );
-               pass();
-       }
-}