diff --git a/tests/CreatePageBrowserTest.php b/tests/CreatePageBrowserTest.php new file mode 100644 index 00000000..55292edb --- /dev/null +++ b/tests/CreatePageBrowserTest.php @@ -0,0 +1,32 @@ +assertEquals(1, + db_insert( + 'mailbox', + array( + 'username' => $username, + 'password' => 'blah', + 'name' => 'blah', + 'maildir' => 'blah', + 'local_part' => 'blah', + 'domain' => 'example.com', + ) + ) + ); + } + + // this breaks on sqlite atm. + $b = create_page_browser('mailbox.username FROM mailbox', 'WHERE 1 = 1' ); + + $this->assertNotEmpty($b); + } +}